Make the data blob NOT NULL in the SQL upgrade script (#120)

This commit is contained in:
FrancescoUK
2016-01-19 08:24:58 +00:00
parent 830f714a44
commit 4280e05679

View File

@@ -4,7 +4,7 @@ DROP TABLE `ospos_sessions`;
CREATE TABLE `ospos_sessions` (
`id` varchar(40) NOT NULL DEFAULT '0',
`ip_address` varchar(45) NOT NULL DEFAULT '0',
`data` blob,
`data` blob NOT NULL,
`timestamp` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;