Created
October 5, 2016 12:46
-
-
Save rogersguedes/c3f5b9e6e8c04156afe7e296a26f3e10 to your computer and use it in GitHub Desktop.
SQL Table Creation script to create session table for Codeigniter 3 MySQL session driver.
This file contains hidden or 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` ( | |
| `id` varchar(40) NOT NULL, | |
| `ip_address` varchar(45) NOT NULL, | |
| `timestamp` int(10) unsigned NOT NULL DEFAULT '0', | |
| `data` blob NOT NULL, | |
| PRIMARY KEY (`id`), | |
| KEY `sessions_timestamp` (`timestamp`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment