diff options
Diffstat (limited to 'db/migrate/20190228192410_add_multi_line_attributes_to_suggestion.rb')
-rw-r--r-- | db/migrate/20190228192410_add_multi_line_attributes_to_suggestion.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20190228192410_add_multi_line_attributes_to_suggestion.rb b/db/migrate/20190228192410_add_multi_line_attributes_to_suggestion.rb deleted file mode 100644 index 4daabb6baa8..00000000000 --- a/db/migrate/20190228192410_add_multi_line_attributes_to_suggestion.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class AddMultiLineAttributesToSuggestion < ActiveRecord::Migration[5.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_column_with_default :suggestions, :lines_above, :integer, default: 0, allow_null: false # rubocop:disable Migration/AddColumnWithDefault - add_column_with_default :suggestions, :lines_below, :integer, default: 0, allow_null: false # rubocop:disable Migration/AddColumnWithDefault - add_column_with_default :suggestions, :outdated, :boolean, default: false, allow_null: false # rubocop:disable Migration/AddColumnWithDefault - end - - def down - remove_columns :suggestions, :outdated, :lines_above, :lines_below - end -end |