summaryrefslogtreecommitdiff
path: root/db/migrate/20211008181451_add_shared_runners_duration_to_ci_namespace_monthly_usages.rb
blob: 862d1a268679a0d1683dec83880e50fde7d72ba0 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class AddSharedRunnersDurationToCiNamespaceMonthlyUsages < Gitlab::Database::Migration[1.0]
  enable_lock_retries!

  def change
    add_column :ci_namespace_monthly_usages, :shared_runners_duration, :integer, default: 0, null: false
  end
end