gitlab-org--gitlab-foss/db/migrate/20220318141037_add_pages_onboarding_state.rb

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

12 lines
297 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddPagesOnboardingState < Gitlab::Database::Migration[1.0]
def up
add_column :project_pages_metadata, :onboarding_complete, :boolean, default: false, null: false
end
def down
remove_column :project_pages_metadata, :onboarding_complete
end
end