mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Add settings #2623
This commit is contained in:
parent
ff0a33c3c4
commit
c3dfd363b7
1 changed files with 10 additions and 0 deletions
10
db/data/20150610111019_add_expire_settings.rb
Normal file
10
db/data/20150610111019_add_expire_settings.rb
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
class AddExpireSettings < ActiveRecord::Migration
|
||||||
|
def self.up
|
||||||
|
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