Posted By

pdswan on 07/29/09


Tagged

mysql codeigniter


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

philokezzar
jatap
murrake
infinidad
Tyster


CodeIgniter Session Table SQL


 / Published in: SQL
 

  1. CREATE TABLE IF NOT EXISTS `ci_sessions` (
  2. session_id varchar(40) DEFAULT '0' NOT NULL,
  3. ip_address varchar(16) DEFAULT '0' NOT NULL,
  4. user_agent varchar(50) NOT NULL,
  5. last_activity int(10) UNSIGNED DEFAULT 0 NOT NULL,
  6. user_data text NOT NULL,
  7. PRIMARY KEY (session_id)
  8. );

Report this snippet  

You need to login to post a comment.