Added rows in db to new networkmaps

This commit is contained in:
Arturo Gonzalez 2016-10-17 13:14:51 +02:00
parent fb7050feb5
commit fc0d83cc46
3 changed files with 9 additions and 3 deletions

View File

@ -2075,7 +2075,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,
id_user VARCHAR2(100) DEFAULT '',
type NUMBER(5, 0) DEFAULT 0,
subtype NUMBER(5, 0) DEFAULT 0,
name VARCHAR2(100) DEFAULT '',
@ -2124,6 +2124,8 @@ CREATE TABLE IF NOT EXISTS trel_item (
id NUMBER(10, 0) PRIMARY KEY,
id_parent NUMBER(10, 0) DEFAULT 0,
id_child NUMBER(10, 0) DEFAULT 0,
id_parent_source_data NUMBER(10, 0) DEFAULT 0,
id_child_source_data NUMBER(10, 0) DEFAULT 0,
parent_type NUMBER(5, 0) DEFAULT 0,
child_type NUMBER(5, 0) DEFAULT 0,
id_item NUMBER(10, 0) DEFAULT 0,

View File

@ -1736,7 +1736,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,
"id_user" varchar(250) default '',
"type" SMALLINT NOT NULL default 0,
"subtype" SMALLINT NOT NULL default 0,
"name" varchar(250) default '',
@ -1781,6 +1781,8 @@ CREATE TABLE IF NOT EXISTS "trel_item" (
"id" SERIAL NOT NULL PRIMARY KEY,
"id_parent" INTEGER default 0,
"id_child" INTEGER default 0,
"id_parent_source_data" INTEGER default 0,
"id_child_source_data" INTEGER default 0,
"parent_type" SMALLINT NOT NULL default 0,
"child_type" SMALLINT NOT NULL default 0,
"id_item" INTEGER default 0,

View File

@ -1846,7 +1846,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,
`id_user` varchar(250) NOT NULL default '',
`type` int(10) unsigned NOT NULL default 0,
`subtype` int(10) unsigned NOT NULL default 0,
`name` varchar(250) default '',
@ -1892,6 +1892,8 @@ CREATE TABLE IF NOT EXISTS `trel_item` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`id_parent` int(10) unsigned NOT NULL default 0,
`id_child` int(10) unsigned NOT NULL default 0,
`id_parent_source_data` int(10) unsigned NOT NULL default 0,
`id_child_source_data` int(10) unsigned NOT NULL default 0,
`parent_type` int(10) unsigned NOT NULL default 0,
`child_type` int(10) unsigned NOT NULL default 0,
`id_item` int(10) unsigned NOT NULL default 0,