blob: eb0cd448da3613c47dc2d7e00fc606995a439232 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
class AddCreatedAtToProjectMonthlyUsage < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
with_lock_retries do
add_column :ci_project_monthly_usages, :created_at, :datetime_with_timezone
end
end
def down
with_lock_retries do
remove_column :ci_project_monthly_usages, :created_at
end
end
end
|