diff --git a/db/data/20150610111019_add_expire_settings.rb b/db/data/20150610111019_add_expire_settings.rb new file mode 100644 index 000000000..9f8b9cce8 --- /dev/null +++ b/db/data/20150610111019_add_expire_settings.rb @@ -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