diff options
Diffstat (limited to 'db/migrate/20210203092540_remove_has_external_wiki_constraint.rb')
-rw-r--r-- | db/migrate/20210203092540_remove_has_external_wiki_constraint.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20210203092540_remove_has_external_wiki_constraint.rb b/db/migrate/20210203092540_remove_has_external_wiki_constraint.rb deleted file mode 100644 index 80b0cc11685..00000000000 --- a/db/migrate/20210203092540_remove_has_external_wiki_constraint.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class RemoveHasExternalWikiConstraint < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - # This reverts the following migration: add_not_null_constraint :projects, :has_external_wiki, validate: false - if check_not_null_constraint_exists?(:projects, :has_external_wiki) - remove_not_null_constraint :projects, :has_external_wiki - end - end - - def down - # no-op - end -end |