Changeset 727
- Timestamp:
- May 26, 2020 8:12:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DBSessionHandler.inc.php
r702 r727 107 107 } 108 108 $this->db->query("CREATE TABLE IF NOT EXISTS " . $this->db->escapeString($this->_params['db_table']) . " ( 109 session_id VARCHAR(191)NOT NULL DEFAULT '',110 session_data mediumtextNOT NULL,111 last_access timestampNOT NULL,112 PRIMARY KEY (session_id),113 KEY last_access (last_access)114 ) ");109 `session_id` VARCHAR(255) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', 110 `session_data` MEDIUMTEXT NOT NULL, 111 `last_access` TIMESTAMP(14) NOT NULL, 112 PRIMARY KEY `session_id` (`session_id`), 113 KEY `last_access` (`last_access`) 114 ) ENGINE=InnoDB DEFAULT CHARSET=utf8"); 115 115 116 116 if (!$this->db->columnExists($this->_params['db_table'], array(
Note: See TracChangeset
for help on using the changeset viewer.