add field 'flashmsg' to tblSession

This commit is contained in:
Uwe Steinmann 2013-05-18 22:52:24 +02:00
parent 5daf694ef7
commit 0f0cad93cd
4 changed files with 19 additions and 1 deletions

View File

@ -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;

View File

@ -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 ''
) ; ) ;
-- -------------------------------------------------------- -- --------------------------------------------------------

View File

@ -0,0 +1,8 @@
BEGIN;
ALTER TABLE tblSessions ADD COLUMN `flashmsg` TEXT DEFAULT '';
UPDATE tblVersion set major=4, minor=3, subminor=0;
COMMIT;

View 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;