summaryrefslogtreecommitdiff
path: root/db/migrate/20191001170300_create_ci_ref.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20191001170300_create_ci_ref.rb')
-rw-r--r--db/migrate/20191001170300_create_ci_ref.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20191001170300_create_ci_ref.rb b/db/migrate/20191001170300_create_ci_ref.rb
index af25e67430b..feeb8517e6e 100644
--- a/db/migrate/20191001170300_create_ci_ref.rb
+++ b/db/migrate/20191001170300_create_ci_ref.rb
@@ -3,6 +3,7 @@
class CreateCiRef < ActiveRecord::Migration[5.2]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
def change
create_table :ci_refs do |t|
t.references :project, null: false, index: false, foreign_key: { on_delete: :cascade }, type: :integer
@@ -16,4 +17,5 @@ class CreateCiRef < ActiveRecord::Migration[5.2]
t.index [:last_updated_by_pipeline_id]
end
end
+ # rubocop:enable Migration/PreventStrings
end