add new field 'data' to tblSessions

This commit is contained in:
Uwe Steinmann 2024-02-16 14:01:15 +01:00
parent ea87b7723f
commit d01a7a31bc
6 changed files with 11 additions and 2 deletions

View File

@ -693,6 +693,7 @@ CREATE TABLE `tblSessions` (
`clipboard` text,
`su` int(11) DEFAULT NULL,
`splashmsg` text,
`data` text DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tblSessions_user` (`userID`),
CONSTRAINT `tblSessions_user` FOREIGN KEY (`userID`) REFERENCES `tblUsers` (`id`) ON DELETE CASCADE

View File

@ -574,7 +574,8 @@ CREATE TABLE "tblSessions" (
"language" varchar(30) NOT NULL default '',
"clipboard" text default NULL,
"su" INTEGER DEFAULT NULL,
"splashmsg" text default NULL
"splashmsg" text default NULL,
"data" text default NULL
) ;
-- --------------------------------------------------------

View File

@ -583,7 +583,8 @@ CREATE TABLE `tblSessions` (
`language` varchar(30) NOT NULL default '',
`clipboard` text default NULL,
`su` INTEGER DEFAULT NULL,
`splashmsg` text default NULL
`splashmsg` text default NULL,
`data` text default NULL
) ;
-- --------------------------------------------------------

View File

@ -26,6 +26,8 @@ ALTER TABLE "tblNotify" ADD COLUMN "inherit" INTEGER NOT NULL default '0';
ALTER TABLE "tblSchedulerTask" ADD COLUMN "failures" INTEGER NOT NULL default '0';
ALTER TABLE "tblSessions" ADD COLUMN "data" text DEFAULT NULL;
CREATE TABLE "tblAttributeDefinitionGroups" (
"id" SERIAL UNIQUE,
"name" varchar(100) default NULL,

View File

@ -12,6 +12,8 @@ ALTER TABLE `tblDocumentFiles` ADD COLUMN `fileSize` INTEGER DEFAULT NULL;
ALTER TABLE `tblDocumentFiles` ADD COLUMN `checksum` char(32) DEFAULT NULL;
ALTER TABLE `tblSessions` ADD COLUMN `data` TEXT DEFAULT NULL;
CREATE TABLE `new_tblUsers` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
`login` varchar(50) default NULL,

View File

@ -26,6 +26,8 @@ ALTER TABLE `tblNotify` ADD COLUMN `inherit` smallint(1) NOT NULL DEFAULT '0';
ALTER TABLE `tblSchedulerTask` ADD COLUMN `failures` int(11) NOT NULL DEFAULT '0';
ALTER TABLE `tblSessions` ADD COLUMN `data` text DEFAULT NULL;
CREATE TABLE `tblAttributeDefinitionGroups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,