10 lines
288 B
Ruby
10 lines
288 B
Ruby
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
def change
|
|
# rubocop:disable Migration/SaferBooleanColumn
|
|
add_column :application_settings, :enforce_terms, :boolean, default: false
|
|
end
|
|
end
|