diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150604202921_add_session_expire_seconds_for_application_settings.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20150604202921_add_session_expire_seconds_for_application_settings.rb b/db/migrate/20150604202921_add_session_expire_seconds_for_application_settings.rb new file mode 100644 index 00000000000..8096efc6865 --- /dev/null +++ b/db/migrate/20150604202921_add_session_expire_seconds_for_application_settings.rb @@ -0,0 +1,5 @@ +class AddSessionExpireSecondsForApplicationSettings < ActiveRecord::Migration + def change + add_column :application_settings, :session_expire_seconds, :integer, default: 604800, null: false + end +end
\ No newline at end of file diff --git a/db/schema.rb b/db/schema.rb index aea0742cf3b..d2ad55d7a99 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150529150354) do +ActiveRecord::Schema.define(version: 20150604202921) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -35,6 +35,7 @@ ActiveRecord::Schema.define(version: 20150529150354) do t.text "restricted_signup_domains" t.boolean "user_oauth_applications", default: true t.string "after_sign_out_path" + t.integer "session_expire_seconds", default: 604800, null: false end create_table "broadcast_messages", force: true do |t| |