diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-05-31 18:17:30 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-05-31 18:17:30 +0000 |
commit | 9209736a22501dd4ea16afee86d0968bead84100 (patch) | |
tree | b2a6db95d89af260af1b2f4fd404137565bbfd23 /db | |
parent | b9798c157ac5973e9dd2b7ad95267014034a219f (diff) | |
parent | bfed231152fa476aa4be6e221d65dc5225d19537 (diff) | |
download | gitlab-ce-9209736a22501dd4ea16afee86d0968bead84100.tar.gz |
Merge branch '56959-drop-project_auto_devops_domain' into 'master'
Removes project_auto_devops#domain column
Closes #56959
See merge request gitlab-org/gitlab-ce!28574
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb | 11 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb b/db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb new file mode 100644 index 00000000000..36278d83927 --- /dev/null +++ b/db/post_migrate/20190522143720_drop_project_auto_devops_domain.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class DropProjectAutoDevopsDomain < ActiveRecord::Migration[5.1] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + remove_column :project_auto_devops, :domain, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 39d9743bcc9..378cb9c65d0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1633,7 +1633,6 @@ ActiveRecord::Schema.define(version: 20190527194900) do t.datetime_with_timezone "created_at", null: false t.datetime_with_timezone "updated_at", null: false t.boolean "enabled" - t.string "domain" t.integer "deploy_strategy", default: 0, null: false t.index ["project_id"], name: "index_project_auto_devops_on_project_id", unique: true, using: :btree end |