mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Add feature to specify days to allow renew before expiration #2610
This commit is contained in:
parent
315a5a4aae
commit
7afca86c0e
5 changed files with 53 additions and 2 deletions
9
db/data/20150609093515_add_renew_setting.rb
Normal file
9
db/data/20150609093515_add_renew_setting.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class AddRenewSetting < ActiveRecord::Migration
|
||||
def self.up
|
||||
Setting.days_to_renew_domain_before_expire = 90
|
||||
end
|
||||
|
||||
def self.down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue