method

create_table!

rails latest stable - Class: ActiveRecord::SessionStore::Session

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

create_table!()
public

No documentation available.

# File activerecord/lib/active_record/session_store.rb, line 74
        def create_table!
          connection.execute "CREATE TABLE \#{table_name} (\nid INTEGER PRIMARY KEY,\n\#{connection.quote_column_name('session_id')} TEXT UNIQUE,\n\#{connection.quote_column_name(@@data_column_name)} TEXT(255)\n)\n"
        end