debian-mirror-gitlab/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb

8 lines
285 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class AddSessionExpireDelayForApplicationSettings < ActiveRecord::Migration[4.2]
2015-09-11 14:41:01 +05:30
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