debian-mirror-gitlab/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb
2019-02-15 15:39:39 +05:30

8 lines
285 B
Ruby

class AddSessionExpireDelayForApplicationSettings < ActiveRecord::Migration[4.2]
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