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

This commit is contained in:
FrancescoUK committed 2016-03-08 17:44:59 +00:00
1 parent b9262230d1
commit 4d9dc0111e
1 file changed
+1 -1
+1 -1
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;