diff --git a/db/schema.rb b/db/schema.rb index 107e7be7..4a581097 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2021_05_14_165639) do +ActiveRecord::Schema.define(version: 2021_08_09_155434) do # These are extensions that must be enabled in order to support this database enable_extension "pg_trgm" @@ -200,7 +200,8 @@ ActiveRecord::Schema.define(version: 2021_05_14_165639) do t.datetime "updated_at", null: false t.bigint "site_id" t.string "type" - t.text "values" + t.string "hostname", null: false + t.index ["hostname"], name: "index_deploys_on_hostname", unique: true t.index ["site_id"], name: "index_deploys_on_site_id" t.index ["type"], name: "index_deploys_on_type" end @@ -319,6 +320,8 @@ ActiveRecord::Schema.define(version: 2021_05_14_165639) do t.string "tienda_api_key_ciphertext", default: "" t.string "tienda_url", default: "" t.string "api_key_ciphertext" + t.bigint "canonical_deploy_id", null: false + t.index ["canonical_deploy_id"], name: "index_sites_on_canonical_deploy_id" t.index ["design_id"], name: "index_sites_on_design_id" t.index ["licencia_id"], name: "index_sites_on_licencia_id" t.index ["name"], name: "index_sites_on_name", unique: true