Drop and recreate completely session table with new structure

This commit is contained in:
FrancescoUK committed 2016-06-27 16:15:14 +01:00
1 parent dd2dc7312c
commit 163732b87f
4 files changed
+30 -11

No files matched your search

+4 -3
View File
@@ -676,10 +676,11 @@ CREATE TABLE `ospos_sales_suspended_payments` (
--
CREATE TABLE `ospos_sessions` (
`id` varchar(40) NOT NULL DEFAULT '0',
`ip_address` varchar(45) NOT NULL DEFAULT '0',
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) unsigned DEFAULT 0 NOT NULL,
`data` blob NOT NULL,
`timestamp` int(10) unsigned NOT NULL DEFAULT '0'
KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--