mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
parent
ed27152bb1
commit
4ddbb08e80
19 changed files with 111 additions and 271 deletions
|
@ -1,10 +1,9 @@
|
|||
class AddExpireSettings < ActiveRecord::Migration
|
||||
class AddExpireSettings < ActiveRecord::Migration[5.1]
|
||||
def self.up
|
||||
Setting.expire_warning_period = 15
|
||||
Setting.redemption_grace_period = 30
|
||||
# Setting.expire_warning_period = 15
|
||||
# Setting.redemption_grace_period = 30
|
||||
end
|
||||
|
||||
def self.down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue