diff options
Diffstat (limited to 'db/migrate/20200825071735_create_merge_request_reviewers.rb')
-rw-r--r-- | db/migrate/20200825071735_create_merge_request_reviewers.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/migrate/20200825071735_create_merge_request_reviewers.rb b/db/migrate/20200825071735_create_merge_request_reviewers.rb deleted file mode 100644 index 45451476bb0..00000000000 --- a/db/migrate/20200825071735_create_merge_request_reviewers.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class CreateMergeRequestReviewers < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - create_table :merge_request_reviewers do |t| - t.bigint :user_id, null: false - t.bigint :merge_request_id, null: false - t.datetime_with_timezone :created_at, null: false - end - - add_index :merge_request_reviewers, [:merge_request_id, :user_id], unique: true - add_index :merge_request_reviewers, :user_id - end - - def down - drop_table :merge_request_reviewers - end -end |