summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-17 14:51:16 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-17 14:51:16 +0900
commit4c625df7ce1966610ad6a4ac829e1fc70e81f13a (patch)
treefb8fd3573025e3e52ae14d10554ed8ac891ec2bc
parent5f524f63f878457d6ee38f2659d8991293346f25 (diff)
parent24eecd91baf9e437b0875fe2df8187e5402665f2 (diff)
downloadgitlab-ce-4c625df7ce1966610ad6a4ac829e1fc70e81f13a.tar.gz
Merge branch 'deployment-status-presenter' into use-deployment-status-in-job-log-page
-rw-r--r--db/schema.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 2597a80f8f1..1dd2c7636d6 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -253,13 +253,6 @@ ActiveRecord::Schema.define(version: 20181016141739) do
add_index "chat_teams", ["namespace_id"], name: "index_chat_teams_on_namespace_id", unique: true, using: :btree
- create_table "ci_build_schedules", id: :bigserial, force: :cascade do |t|
- t.integer "build_id", null: false
- t.datetime "execute_at", null: false
- end
-
- add_index "ci_build_schedules", ["build_id"], name: "index_ci_build_schedules_on_build_id", unique: true, using: :btree
-
create_table "ci_build_trace_chunks", id: :bigserial, force: :cascade do |t|
t.integer "build_id", null: false
t.integer "chunk_index", null: false
@@ -347,7 +340,7 @@ ActiveRecord::Schema.define(version: 20181016141739) do
add_index "ci_builds", ["project_id", "id"], name: "index_ci_builds_on_project_id_and_id", using: :btree
add_index "ci_builds", ["protected"], name: "index_ci_builds_on_protected", using: :btree
add_index "ci_builds", ["runner_id"], name: "index_ci_builds_on_runner_id", using: :btree
- add_index "ci_builds", ["scheduled_at"], name: "partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs", where: "((scheduled_at IS NOT NULL) AND (((type)::text = 'Ci::Build'::text) AND ((status)::text = 'scheduled'::text)))", using: :btree
+ add_index "ci_builds", ["scheduled_at"], name: "partial_index_ci_builds_on_scheduled_at_with_scheduled_jobs", where: "((scheduled_at IS NOT NULL) AND ((type)::text = 'Ci::Build'::text) AND ((status)::text = 'scheduled'::text))", using: :btree
add_index "ci_builds", ["stage_id", "stage_idx"], name: "tmp_build_stage_position_index", where: "(stage_idx IS NOT NULL)", using: :btree
add_index "ci_builds", ["stage_id"], name: "index_ci_builds_on_stage_id", using: :btree
add_index "ci_builds", ["status", "type", "runner_id"], name: "index_ci_builds_on_status_and_type_and_runner_id", using: :btree
@@ -1796,7 +1789,6 @@ ActiveRecord::Schema.define(version: 20181016141739) do
end
add_index "redirect_routes", ["path"], name: "index_redirect_routes_on_path", unique: true, using: :btree
- add_index "redirect_routes", ["path"], name: "index_redirect_routes_on_path_text_pattern_ops", using: :btree, opclasses: {"path"=>"varchar_pattern_ops"}
add_index "redirect_routes", ["source_type", "source_id"], name: "index_redirect_routes_on_source_type_and_source_id", using: :btree
create_table "releases", force: :cascade do |t|
@@ -2291,7 +2283,6 @@ ActiveRecord::Schema.define(version: 20181016141739) do
add_foreign_key "boards", "namespaces", column: "group_id", on_delete: :cascade
add_foreign_key "boards", "projects", name: "fk_f15266b5f9", on_delete: :cascade
add_foreign_key "chat_teams", "namespaces", on_delete: :cascade
- add_foreign_key "ci_build_schedules", "ci_builds", column: "build_id", on_delete: :cascade
add_foreign_key "ci_build_trace_chunks", "ci_builds", column: "build_id", on_delete: :cascade
add_foreign_key "ci_build_trace_section_names", "projects", on_delete: :cascade
add_foreign_key "ci_build_trace_sections", "ci_build_trace_section_names", column: "section_name_id", name: "fk_264e112c66", on_delete: :cascade