From 4280e05679aee8d0a49358dec3a10eba096b66e0 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Tue, 19 Jan 2016 08:24:58 +0000 Subject: [PATCH] Make the data blob NOT NULL in the SQL upgrade script (#120) --- database/2.3.4_to_2.4.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/2.3.4_to_2.4.sql b/database/2.3.4_to_2.4.sql index 2d693a0b7..94035581c 100644 --- a/database/2.3.4_to_2.4.sql +++ b/database/2.3.4_to_2.4.sql @@ -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; \ No newline at end of file