blob: dd2acbfd0bbf7e1ff251922ddbee17f4f1f986b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
class AddNextOverLimitCheckAtToNamespaceDetails < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
TABLE_NAME = :namespace_details
COLUMN = :next_over_limit_check_at
def up
with_lock_retries do
add_column TABLE_NAME, COLUMN, :datetime_with_timezone, null: true
end
end
def down
with_lock_retries do
remove_column TABLE_NAME, COLUMN
end
end
end
|