Browse Source

change from text to string

master
Georg Hopp 10 years ago
parent
commit
f3a845b06d
  1. 4
      app/views/lxd_hosts/_form.html.erb
  2. 6
      db/schema.rb

4
app/views/lxd_hosts/_form.html.erb

@ -13,11 +13,11 @@
<div class="field"> <div class="field">
<%= f.label :name %><br> <%= f.label :name %><br>
<%= f.text_area :name %>
<%= f.text_field :name %>
</div> </div>
<div class="field"> <div class="field">
<%= f.label :uri %><br> <%= f.label :uri %><br>
<%= f.text_area :uri %>
<%= f.text_field :uri %>
</div> </div>
<div class="field"> <div class="field">
<%= f.label :password %><br> <%= f.label :password %><br>

6
db/schema.rb

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160419090228) do
ActiveRecord::Schema.define(version: 20160419112843) do
create_table "certificates", force: :cascade do |t| create_table "certificates", force: :cascade do |t|
t.text "key" t.text "key"
@ -22,8 +22,8 @@ ActiveRecord::Schema.define(version: 20160419090228) do
end end
create_table "lxd_hosts", force: :cascade do |t| create_table "lxd_hosts", force: :cascade do |t|
t.text "name"
t.text "uri"
t.string "name"
t.string "uri"
t.string "password_digest" t.string "password_digest"
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false

Loading…
Cancel
Save