mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
11 lines
328 B
Ruby
11 lines
328 B
Ruby
class AddLegalDocumentMandatorySetting < ActiveRecord::Migration[6.0]
|
|
def up
|
|
Setting.create(code: 'legal_document_is_mandatory',
|
|
value: 'true', format: 'boolean',
|
|
group: 'domain_validation')
|
|
end
|
|
|
|
def down
|
|
Setting.find_by(code: 'legal_document_is_mandatory').destroy
|
|
end
|
|
end
|