summaryrefslogtreecommitdiff
path: root/db/migrate/20191218122457_add_force_pages_access_control_to_application_settings.rb
blob: 97352fc98ff64db57d459d662ac0daae5bfb66b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddForcePagesAccessControlToApplicationSettings < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def change
    add_column :application_settings, :force_pages_access_control, :boolean, null: false, default: false
  end
end