summaryrefslogtreecommitdiff
path: root/db/migrate/20200210184410_create_operations_strategies_table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200210184410_create_operations_strategies_table.rb')
-rw-r--r--db/migrate/20200210184410_create_operations_strategies_table.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20200210184410_create_operations_strategies_table.rb b/db/migrate/20200210184410_create_operations_strategies_table.rb
index 1046bd11bc7..4d65267c1a7 100644
--- a/db/migrate/20200210184410_create_operations_strategies_table.rb
+++ b/db/migrate/20200210184410_create_operations_strategies_table.rb
@@ -3,6 +3,7 @@
class CreateOperationsStrategiesTable < ActiveRecord::Migration[6.0]
DOWNTIME = false
+ # rubocop:disable Migration/PreventStrings
def change
create_table :operations_strategies do |t|
t.references :feature_flag, index: true, null: false, foreign_key: { to_table: :operations_feature_flags, on_delete: :cascade }
@@ -10,4 +11,5 @@ class CreateOperationsStrategiesTable < ActiveRecord::Migration[6.0]
t.jsonb :parameters, null: false, default: {}
end
end
+ # rubocop:enable Migration/PreventStrings
end