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 200
def create_table!
@@connection.execute <<-end_sql
CREATE TABLE #{table_name} (
id INTEGER PRIMARY KEY,
#{@@connection.quote_column_name(session_id_column)} TEXT UNIQUE,
#{@@connection.quote_column_name(data_column)} TEXT
)
end_sql
end
Defined in activerecord/lib/active_record/session_store.rb line 200
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::SessionStore::SqlBypass