20150609141121_add_session_expire_delay_for_application_settings.rb 285 Bytes
Newer Older
1
class AddSessionExpireDelayForApplicationSettings < ActiveRecord::Migration[4.2]
2
  def change
3 4 5
    unless column_exists?(:application_settings, :session_expire_delay)
      add_column :application_settings, :session_expire_delay, :integer, default: 10080, null: false
    end
6
  end
7
end