17 lines
421 B
Ruby
17 lines
421 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class AddNamespaceStorageSizeLimitToApplicationSettings < ActiveRecord::Migration[6.0]
|
||
|
include Gitlab::Database::MigrationHelpers
|
||
|
|
||
|
DOWNTIME = false
|
||
|
disable_ddl_transaction!
|
||
|
|
||
|
def up
|
||
|
add_column_with_default :application_settings, :namespace_storage_size_limit, :bigint, default: 0
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
remove_column :application_settings, :namespace_storage_size_limit
|
||
|
end
|
||
|
end
|