diff options
Diffstat (limited to 'db/migrate/20200505164958_add_registry_settings_to_application_settings.rb')
-rw-r--r-- | db/migrate/20200505164958_add_registry_settings_to_application_settings.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/db/migrate/20200505164958_add_registry_settings_to_application_settings.rb b/db/migrate/20200505164958_add_registry_settings_to_application_settings.rb deleted file mode 100644 index 4c307dbe845..00000000000 --- a/db/migrate/20200505164958_add_registry_settings_to_application_settings.rb +++ /dev/null @@ -1,30 +0,0 @@ -# frozen_string_literal: true - -class AddRegistrySettingsToApplicationSettings < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - # rubocop:disable Migration/AddLimitToTextColumns - def up - add_column_with_default(:application_settings, # rubocop:disable Migration/AddColumnWithDefault - :container_registry_vendor, - :text, - default: '', - allow_null: false) - - add_column_with_default(:application_settings, # rubocop:disable Migration/AddColumnWithDefault - :container_registry_version, - :text, - default: '', - allow_null: false) - end - # rubocop:enable Migration/AddLimitToTextColumns - - def down - remove_column :application_settings, :container_registry_vendor - remove_column :application_settings, :container_registry_version - end -end |