mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
set field of type 'text' to NULL instead of ''
mysql doesn't support setting '' in STRICT_TRANS_MODE
This commit is contained in:
parent
3a006be5bf
commit
284ee2bba1
|
@ -490,9 +490,9 @@ CREATE TABLE `tblSessions` (
|
|||
`lastAccess` int(11) NOT NULL default '0',
|
||||
`theme` varchar(30) NOT NULL default '',
|
||||
`language` varchar(30) NOT NULL default '',
|
||||
`clipboard` text default '',
|
||||
`clipboard` text default NULL,
|
||||
`su` INTEGER DEFAULT NULL,
|
||||
`splashmsg` text default '',
|
||||
`splashmsg` text default NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
CONSTRAINT `tblSessions_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
|
@ -427,9 +427,9 @@ CREATE TABLE `tblSessions` (
|
|||
`lastAccess` INTEGER NOT NULL default '0',
|
||||
`theme` varchar(30) NOT NULL default '',
|
||||
`language` varchar(30) NOT NULL default '',
|
||||
`clipboard` text default '',
|
||||
`clipboard` text default NULL,
|
||||
`su` INTEGER DEFAULT NULL,
|
||||
`splashmsg` text default ''
|
||||
`splashmsg` text default NULL
|
||||
) ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user