debian-mirror-gitlab/db/migrate/20150609141121_add_session_expire_delay_for_application_settings.rb
2015-09-11 14:41:01 +05:30

8 lines
280 B
Ruby

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