20 lines
462 B
Ruby
20 lines
462 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class RemoveCloudLicenseEnabledFromApplicationSettings < ActiveRecord::Migration[6.1]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
disable_ddl_transaction!
|
||
|
|
||
|
def up
|
||
|
with_lock_retries do
|
||
|
remove_column :application_settings, :cloud_license_enabled
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
with_lock_retries do
|
||
|
add_column :application_settings, :cloud_license_enabled, :boolean, null: false, default: false
|
||
|
end
|
||
|
end
|
||
|
end
|