diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-12-06 23:43:58 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-12-06 23:43:58 +0300 |
commit | c3bbad762d418857e3f5b52222f5eedd62663229 (patch) | |
tree | c5b7083396734b3d13883a7316e223a73135a441 /db | |
parent | 60011bc42e3d820344e804f70d170c0c8b25d7e9 (diff) | |
parent | 9395d198f9b9ec59858d2f316e58cda22ab80050 (diff) |
Merge branch '19376-post-bfg-cleanup' into 'master'
Allow internal references to be removed
Closes #19376
See merge request gitlab-org/gitlab-ce!23189
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20181203002526_add_project_bfg_object_map_column.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20181203002526_add_project_bfg_object_map_column.rb b/db/migrate/20181203002526_add_project_bfg_object_map_column.rb new file mode 100644 index 00000000000..8b42cd6f941 --- /dev/null +++ b/db/migrate/20181203002526_add_project_bfg_object_map_column.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddProjectBfgObjectMapColumn < ActiveRecord::Migration[5.0] + DOWNTIME = false + + def change + add_column :projects, :bfg_object_map, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 5bc7c7c71fc..d7124100621 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: 20181129104944) do +ActiveRecord::Schema.define(version: 20181203002526) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -1684,6 +1684,7 @@ ActiveRecord::Schema.define(version: 20181129104944) do t.boolean "remote_mirror_available_overridden" t.bigint "pool_repository_id" t.string "runners_token_encrypted" + t.string "bfg_object_map" t.index ["ci_id"], name: "index_projects_on_ci_id", using: :btree t.index ["created_at"], name: "index_projects_on_created_at", using: :btree t.index ["creator_id"], name: "index_projects_on_creator_id", using: :btree |