Commit 862ee9fa2efd42bc3f93ba6c432435b255c3499a
1 parent
074f574e
Add reference to used certificate to host.
Showing
2 changed files
with
11 additions
and
3 deletions
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | # | 11 | # |
| 12 | # It's strongly recommended that you check this file into your version control system. | 12 | # It's strongly recommended that you check this file into your version control system. |
| 13 | 13 | ||
| 14 | -ActiveRecord::Schema.define(version: 20160428191808) do | 14 | +ActiveRecord::Schema.define(version: 20160506065802) do |
| 15 | 15 | ||
| 16 | create_table "certificates", force: :cascade do |t| | 16 | create_table "certificates", force: :cascade do |t| |
| 17 | t.text "key" | 17 | t.text "key" |
| @@ -24,8 +24,11 @@ ActiveRecord::Schema.define(version: 20160428191808) do | @@ -24,8 +24,11 @@ ActiveRecord::Schema.define(version: 20160428191808) do | ||
| 24 | create_table "hosts", force: :cascade do |t| | 24 | create_table "hosts", force: :cascade do |t| |
| 25 | t.string "name" | 25 | t.string "name" |
| 26 | t.string "uri" | 26 | t.string "uri" |
| 27 | - t.datetime "created_at", null: false | ||
| 28 | - t.datetime "updated_at", null: false | 27 | + t.datetime "created_at", null: false |
| 28 | + t.datetime "updated_at", null: false | ||
| 29 | + t.integer "certificate_id" | ||
| 29 | end | 30 | end |
| 30 | 31 | ||
| 32 | + add_index "hosts", ["certificate_id"], name: "index_hosts_on_certificate_id" | ||
| 33 | + | ||
| 31 | end | 34 | end |
Please
register
or
login
to post a comment