diff options
author | James Fargher <proglottis@gmail.com> | 2019-02-07 00:53:54 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2019-02-08 00:55:55 +0300 |
commit | 45cecae93a47d3c914bd4ec6778d23b412870a7b (patch) | |
tree | 8994d4b91d1082af0c706ff559e7d7d77e75f002 /db/schema.rb | |
parent | 35bc3906d666d06d8230fe3d89b922c45d36a47d (diff) |
Move ChatOps migrations to Core
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index 20c8dab4c3e..600d93474b7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -419,6 +419,14 @@ ActiveRecord::Schema.define(version: 20190131122559) do t.index ["project_id"], name: "index_ci_job_artifacts_on_project_id", using: :btree end + create_table "ci_pipeline_chat_data", id: :bigserial, force: :cascade do |t| + t.integer "pipeline_id", null: false + t.integer "chat_name_id", null: false + t.text "response_url", null: false + t.index ["chat_name_id"], name: "index_ci_pipeline_chat_data_on_chat_name_id", using: :btree + t.index ["pipeline_id"], name: "index_ci_pipeline_chat_data_on_pipeline_id", unique: true, using: :btree + end + create_table "ci_pipeline_schedule_variables", force: :cascade do |t| t.string "key", null: false t.text "value" @@ -2341,6 +2349,8 @@ ActiveRecord::Schema.define(version: 20190131122559) do add_foreign_key "ci_group_variables", "namespaces", column: "group_id", name: "fk_33ae4d58d8", on_delete: :cascade add_foreign_key "ci_job_artifacts", "ci_builds", column: "job_id", on_delete: :cascade add_foreign_key "ci_job_artifacts", "projects", on_delete: :cascade + add_foreign_key "ci_pipeline_chat_data", "chat_names", on_delete: :cascade + add_foreign_key "ci_pipeline_chat_data", "ci_pipelines", column: "pipeline_id", on_delete: :cascade add_foreign_key "ci_pipeline_schedule_variables", "ci_pipeline_schedules", column: "pipeline_schedule_id", name: "fk_41c35fda51", on_delete: :cascade add_foreign_key "ci_pipeline_schedules", "projects", name: "fk_8ead60fcc4", on_delete: :cascade add_foreign_key "ci_pipeline_schedules", "users", column: "owner_id", name: "fk_9ea99f58d2", on_delete: :nullify |