diff options
Diffstat (limited to 'db/migrate/20211008182954_add_shared_runners_duration_to_ci_project_monthly_usages.rb')
-rw-r--r-- | db/migrate/20211008182954_add_shared_runners_duration_to_ci_project_monthly_usages.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20211008182954_add_shared_runners_duration_to_ci_project_monthly_usages.rb b/db/migrate/20211008182954_add_shared_runners_duration_to_ci_project_monthly_usages.rb new file mode 100644 index 00000000000..76bb7356f0f --- /dev/null +++ b/db/migrate/20211008182954_add_shared_runners_duration_to_ci_project_monthly_usages.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddSharedRunnersDurationToCiProjectMonthlyUsages < Gitlab::Database::Migration[1.0] + enable_lock_retries! + + def change + add_column :ci_project_monthly_usages, :shared_runners_duration, :integer, default: 0, null: false + end +end |