diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-02-15 22:23:26 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-02-15 22:23:26 +0300 |
commit | 813df901e81257e3175015c94022151824682e83 (patch) | |
tree | 0db8c7525452fb78d6a64672ae8fd73215a5b475 /db/schema.rb | |
parent | 535c69547f35e991b2dc604d93572bea7ad4a933 (diff) | |
parent | 45cecae93a47d3c914bd4ec6778d23b412870a7b (diff) |
Merge branch 'move_chatops_to_core_migration' into 'master'
Move ChatOps migrations to Core
See merge request gitlab-org/gitlab-ce!24986
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 0f7e9ad4996..25a645562ec 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -421,6 +421,14 @@ ActiveRecord::Schema.define(version: 20190204115450) 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" @@ -2345,6 +2353,8 @@ ActiveRecord::Schema.define(version: 20190204115450) 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 |