debian-mirror-gitlab/db/migrate/20220318141037_add_pages_onboarding_state.rb
2022-06-21 17:19:12 +05:30

11 lines
297 B
Ruby

# 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