Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220318141037_add_pages_onboarding_state.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e320bee63c4c70f4f9ba3191d3ff5352abd19d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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