diff options
author | Nick Thomas <nick@gitlab.com> | 2019-07-01 12:23:25 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-07-02 09:35:03 +0100 |
commit | cfe31f992a12c95570891b8cca8747589c6c6228 (patch) | |
tree | d89296a511b093b7216a4aca3a933234c9047865 /db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb | |
parent | 6d867cad918d80216908b68dba7e785997871ac7 (diff) | |
download | gitlab-ce-cfe31f992a12c95570891b8cca8747589c6c6228.tar.gz |
Squash old migrations
Use the `squasher` gem to squash migrations older than the start of 2018
Diffstat (limited to 'db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb')
-rw-r--r-- | db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb b/db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb deleted file mode 100644 index f6de19aeaf2..00000000000 --- a/db/migrate/20170620065449_add_foreign_key_to_ci_pipeline_schedule_variables.rb +++ /dev/null @@ -1,15 +0,0 @@ -class AddForeignKeyToCiPipelineScheduleVariables < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_foreign_key(:ci_pipeline_schedule_variables, :ci_pipeline_schedules, column: :pipeline_schedule_id) - end - - def down - remove_foreign_key(:ci_pipeline_schedule_variables, column: :pipeline_schedule_id) - end -end |