class method
self.create_table!
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
self.create_table!()
No documentation comment.
Source
# File activerecord/lib/active_record/session_store.rb, line 74
def create_table!
connection.execute <<-end_sql
CREATE TABLE #{table_name} (
id INTEGER PRIMARY KEY,
#{connection.quote_column_name('session_id')} TEXT UNIQUE,
#{connection.quote_column_name(@@data_column_name)} TEXT(255)
)
end_sql
end
Defined in activerecord/lib/active_record/session_store.rb line 74
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::SessionStore::Session