Added two field lost in the table tmap

This commit is contained in:
mdtrooper 2016-02-01 15:10:08 +01:00
parent 93e1e75193
commit d74a22aecf
3 changed files with 6 additions and 0 deletions

2
pandora_console/pandoradb.oracle.sql Executable file → Normal file
View File

@ -2062,6 +2062,7 @@ CREATE TABLE tsessions_php (
CREATE TABLE IF NOT EXISTS tmap (
id NUMBER(10, 0) PRIMARY KEY,
id_group NUMBER(10, 0) DEFAULT 0,
id_user NUMBER(10, 0) DEFAULT 0,
type NUMBER(5, 0) DEFAULT 0,
subtype NUMBER(5, 0) DEFAULT 0,
name VARCHAR2(100) DEFAULT '',
@ -2075,6 +2076,7 @@ CREATE TABLE IF NOT EXISTS tmap (
source_period NUMBER(10, 0) DEFAULT 0,
source NUMBER(10, 0) DEFAULT 0,
source_data VARCHAR2(250) DEFAULT '',
generation_method NUMBER(10, 0) DEFAULT 0,
filter CLOB DEFAULT '',
);

2
pandora_console/pandoradb.postgreSQL.sql Executable file → Normal file
View File

@ -1722,6 +1722,7 @@ CREATE TABLE "tsessions_php" (
CREATE TABLE IF NOT EXISTS "tmap" (
"id" SERIAL NOT NULL PRIMARY KEY,
"id_group" INTEGER default 0,
"id_user" INTEGER default 0,
"type" SMALLINT NOT NULL default 0,
"subtype" SMALLINT NOT NULL default 0,
"name" varchar(250) default '',
@ -1735,6 +1736,7 @@ CREATE TABLE IF NOT EXISTS "tmap" (
"source_period" INTEGER UNSIGNED NOT NULL default 0,
"source" SMALLINT NOT NULL default 0,
"source_data" varchar(250) default '',
"generation_method" SMALLINT NOT NULL default 0,
"filter" TEXT
);

2
pandora_console/pandoradb.sql Executable file → Normal file
View File

@ -1830,6 +1830,7 @@ CREATE TABLE tsessions_php (
CREATE TABLE IF NOT EXISTS `tmap` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`id_group` int(10) unsigned NOT NULL default 0,
`id_user` int(10) unsigned NOT NULL default 0,
`type` int(10) unsigned NOT NULL default 0,
`subtype` int(10) unsigned NOT NULL default 0,
`name` varchar(250) default '',
@ -1843,6 +1844,7 @@ CREATE TABLE IF NOT EXISTS `tmap` (
`source_period` INTEGER UNSIGNED NOT NULL default 0,
`source` INTEGER UNSIGNED NOT NULL default 0,
`source_data` varchar(250) default '',
`generation_method` INTEGER UNSIGNED NOT NULL default 0,
`filter` TEXT,
PRIMARY KEY(`id`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;