Created
August 25, 2012 17:57
-
-
Save reactormade/3468547 to your computer and use it in GitHub Desktop.
Create CI_Sessions table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `sessions` ( | |
`session_id` varchar(40) NOT NULL DEFAULT '0', | |
`ip_address` varchar(16) NOT NULL DEFAULT '0', | |
`user_agent` varchar(50) NOT NULL, | |
`last_activity` int(10) unsigned NOT NULL DEFAULT '0', | |
`user_data` text NOT NULL, | |
PRIMARY KEY (`session_id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment