Class: Rails::Sequel::SessionStore::Session
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Rails::Sequel::SessionStore::Session
- Defined in:
- lib/sequel-rails/session_store.rb
Class Method Summary collapse
Class Method Details
.auto_migrate! ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/sequel-rails/session_store.rb', line 19 def auto_migrate! self.db.create_table :sessions do primary_key :id column :session_id, String, :null => false, :unique => true, :index => true column :data, :text, :null => false column :updated_at, DateTime, :null => true, :index => true end end |
.name ⇒ Object
38 39 40 |
# File 'lib/sequel-rails/session_store.rb', line 38 def self.name 'session' end |