diff options
Diffstat (limited to 'db/migrate/20200326122700_create_diff_note_positions.rb')
-rw-r--r-- | db/migrate/20200326122700_create_diff_note_positions.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/migrate/20200326122700_create_diff_note_positions.rb b/db/migrate/20200326122700_create_diff_note_positions.rb index 87159e666b5..d37f7fef078 100644 --- a/db/migrate/20200326122700_create_diff_note_positions.rb +++ b/db/migrate/20200326122700_create_diff_note_positions.rb @@ -5,6 +5,8 @@ class CreateDiffNotePositions < ActiveRecord::Migration[6.0] DOWNTIME = false + # rubocop:disable Migration/AddLimitToTextColumns + # rubocop:disable Migration/PreventStrings def up with_lock_retries do create_table :diff_note_positions do |t| @@ -24,6 +26,8 @@ class CreateDiffNotePositions < ActiveRecord::Migration[6.0] end end end + # rubocop:enable Migration/PreventStrings + # rubocop:enable Migration/AddLimitToTextColumns def down drop_table :diff_note_positions |