mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
9 lines
217 B
Ruby
9 lines
217 B
Ruby
class AddLegalDocumentMandatorySetting < ActiveRecord::Migration[6.0]
|
|
def up
|
|
Setting.legal_document_is_mandatory = true
|
|
end
|
|
|
|
def down
|
|
Setting.find_by(var: 'legal_document_is_mandatory').delete
|
|
end
|
|
end
|