Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200330203837_recreate_ci_ref.rb')
-rw-r--r--db/migrate/20200330203837_recreate_ci_ref.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/migrate/20200330203837_recreate_ci_ref.rb b/db/migrate/20200330203837_recreate_ci_ref.rb
index 5a7bede4dc8..734795f594f 100644
--- a/db/migrate/20200330203837_recreate_ci_ref.rb
+++ b/db/migrate/20200330203837_recreate_ci_ref.rb
@@ -25,9 +25,7 @@ class RecreateCiRef < ActiveRecord::Migration[6.0]
def down
with_lock_retries do
- # rubocop:disable Migration/DropTable
drop_table :ci_refs
- # rubocop:enable Migration/DropTable
create_table :ci_refs do |t|
t.references :project, null: false, index: false, foreign_key: { on_delete: :cascade }, type: :integer