gitlab-org--gitlab-foss/db/post_migrate/20220808131659_remove_ci_na...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
357 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveCiNamespaceMonthlyUsagesAdditionalAmountAvailableColumn < Gitlab::Database::Migration[2.0]
def up
remove_column :ci_namespace_monthly_usages, :additional_amount_available
end
def down
add_column :ci_namespace_monthly_usages, :additional_amount_available, :integer, default: 0, null: false
end
end