mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add field 'flashmsg' to tblSession
This commit is contained in:
parent
5daf694ef7
commit
0f0cad93cd
|
@ -491,6 +491,7 @@ CREATE TABLE `tblSessions` (
|
||||||
`language` varchar(30) NOT NULL default '',
|
`language` varchar(30) NOT NULL default '',
|
||||||
`clipboard` text default '',
|
`clipboard` text default '',
|
||||||
`su` INTEGER DEFAULT NULL,
|
`su` INTEGER DEFAULT NULL,
|
||||||
|
`flashmsg` text default '',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
CONSTRAINT `tblSessions_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE
|
CONSTRAINT `tblSessions_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
|
@ -427,7 +427,8 @@ CREATE TABLE `tblSessions` (
|
||||||
`theme` varchar(30) NOT NULL default '',
|
`theme` varchar(30) NOT NULL default '',
|
||||||
`language` varchar(30) NOT NULL default '',
|
`language` varchar(30) NOT NULL default '',
|
||||||
`clipboard` text default '',
|
`clipboard` text default '',
|
||||||
`su` INTEGER DEFAULT NULL
|
`su` INTEGER DEFAULT NULL,
|
||||||
|
`flashmsg` text default ''
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
8
install/update-4.3.0/update-sqlite3.sql
Normal file
8
install/update-4.3.0/update-sqlite3.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
BEGIN;
|
||||||
|
|
||||||
|
ALTER TABLE tblSessions ADD COLUMN `flashmsg` TEXT DEFAULT '';
|
||||||
|
|
||||||
|
UPDATE tblVersion set major=4, minor=3, subminor=0;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
8
install/update-4.3.0/update.sql
Normal file
8
install/update-4.3.0/update.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
START TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE tblSessions ADD COLUMN `flashmsg` TEXT DEFAULT '';
|
||||||
|
|
||||||
|
UPDATE tblVersion set major=4, minor=3, subminor=0;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user