diff options
Diffstat (limited to 'db/migrate/20190611161641_add_target_project_id_to_merge_trains.rb')
-rw-r--r-- | db/migrate/20190611161641_add_target_project_id_to_merge_trains.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20190611161641_add_target_project_id_to_merge_trains.rb b/db/migrate/20190611161641_add_target_project_id_to_merge_trains.rb deleted file mode 100644 index 7b73202ab8d..00000000000 --- a/db/migrate/20190611161641_add_target_project_id_to_merge_trains.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -class AddTargetProjectIdToMergeTrains < ActiveRecord::Migration[5.1] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - # rubocop:disable Rails/NotNullColumn - # rubocop:disable Migration/AddReference - # rubocop:disable Migration/AddLimitToTextColumns - def change - add_reference :merge_trains, :target_project, null: false, index: true, foreign_key: { on_delete: :cascade, to_table: :projects }, type: :integer - add_column :merge_trains, :target_branch, :text, null: false - end - # rubocop:enable Migration/AddLimitToTextColumns - # rubocop:enable Migration/AddReference - # rubocop:enable Rails/NotNullColumn -end |