2019-02-15 15:39:39 +05:30
|
|
|
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration[4.2]
|
2018-10-15 14:42:47 +05:30
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def change
|
2018-11-18 11:00:15 +05:30
|
|
|
# rubocop:disable Migration/SaferBooleanColumn
|
2018-10-15 14:42:47 +05:30
|
|
|
add_column :application_settings, :enforce_terms, :boolean, default: false
|
|
|
|
end
|
|
|
|
end
|