Commit f3a845b06df01572e3da57eb189c54f55b040b01

Authored by Georg Hopp
1 parent 7c19074b

change from text to string

... ... @@ -13,11 +13,11 @@
13 13
14 14 <div class="field">
15 15 <%= f.label :name %><br>
16   - <%= f.text_area :name %>
  16 + <%= f.text_field :name %>
17 17 </div>
18 18 <div class="field">
19 19 <%= f.label :uri %><br>
20   - <%= f.text_area :uri %>
  20 + <%= f.text_field :uri %>
21 21 </div>
22 22 <div class="field">
23 23 <%= f.label :password %><br>
... ...
... ... @@ -11,7 +11,7 @@
11 11 #
12 12 # It's strongly recommended that you check this file into your version control system.
13 13
14   -ActiveRecord::Schema.define(version: 20160419090228) do
  14 +ActiveRecord::Schema.define(version: 20160419112843) do
15 15
16 16 create_table "certificates", force: :cascade do |t|
17 17 t.text "key"
... ... @@ -22,8 +22,8 @@ ActiveRecord::Schema.define(version: 20160419090228) do
22 22 end
23 23
24 24 create_table "lxd_hosts", force: :cascade do |t|
25   - t.text "name"
26   - t.text "uri"
  25 + t.string "name"
  26 + t.string "uri"
27 27 t.string "password_digest"
28 28 t.datetime "created_at", null: false
29 29 t.datetime "updated_at", null: false
... ...
Please register or login to post a comment