diff options
Diffstat (limited to 'db/migrate/20210819162047_add_columns_to_namespace_settings.rb')
-rw-r--r-- | db/migrate/20210819162047_add_columns_to_namespace_settings.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/db/migrate/20210819162047_add_columns_to_namespace_settings.rb b/db/migrate/20210819162047_add_columns_to_namespace_settings.rb deleted file mode 100644 index f617990582a..00000000000 --- a/db/migrate/20210819162047_add_columns_to_namespace_settings.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -class AddColumnsToNamespaceSettings < ActiveRecord::Migration[6.1] - include Gitlab::Database::MigrationHelpers - - disable_ddl_transaction! - - def up - with_lock_retries do - add_column :namespace_settings, :setup_for_company, :boolean - add_column :namespace_settings, :jobs_to_be_done, :smallint - end - end - - def down - with_lock_retries do - remove_column :namespace_settings, :setup_for_company - remove_column :namespace_settings, :jobs_to_be_done - end - end -end |