summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-17 14:50:53 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-17 14:50:53 +0900
commit24eecd91baf9e437b0875fe2df8187e5402665f2 (patch)
tree60341b679ed28e7a2ba41989bbc8d17db43b7bd6
parentff23acd282e700e9c0898e2c8252e4954d17a8f2 (diff)
parenta4b04141badb315823419d28ccbd74fe0d4fd7f2 (diff)
downloadgitlab-ce-24eecd91baf9e437b0875fe2df8187e5402665f2.tar.gz
Merge branch 'stateful_deployments' into deployment-status-presenter
-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