2016-06-16 23:09:34 +05:30
|
|
|
# rubocop:disable all
|
2015-09-11 14:41:01 +05:30
|
|
|
class AddSessionExpireDelayForApplicationSettings < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
unless column_exists?(:application_settings, :session_expire_delay)
|
|
|
|
add_column :application_settings, :session_expire_delay, :integer, default: 10080, null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|