Added tevent_extended to db scripts
Former-commit-id: 5391b8dc0da2bc30bf92735f8604fe84456e992e
This commit is contained in:
parent
6485de04fd
commit
348a10cfe4
|
@ -1856,6 +1856,19 @@ ALTER TABLE `tevento` ADD COLUMN `data` double(22,5) default NULL;
|
||||||
|
|
||||||
ALTER TABLE `tevento` ADD COLUMN `module_status` int(4) NOT NULL default '0';
|
ALTER TABLE `tevento` ADD COLUMN `module_status` int(4) NOT NULL default '0';
|
||||||
|
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
-- Table `tevent_extended`
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
CREATE TABLE IF NOT EXISTS `tevent_extended` (
|
||||||
|
`id` serial PRIMARY KEY,
|
||||||
|
`id_evento` bigint(20) unsigned NOT NULL,
|
||||||
|
`external_id` bigint(20) unsigned,
|
||||||
|
`utimestamp` bigint(20) NOT NULL default '0',
|
||||||
|
`description` text,
|
||||||
|
FOREIGN KEY `tevent_ext_fk`(`id_evento`) REFERENCES `tevento`(`id_evento`)
|
||||||
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tgis_map_layer_groups`
|
-- Table `tgis_map_layer_groups`
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
|
|
|
@ -655,6 +655,19 @@ CREATE TABLE IF NOT EXISTS `tevento` (
|
||||||
-- Criticity: 3 - Warning (yellow) (status 2)
|
-- Criticity: 3 - Warning (yellow) (status 2)
|
||||||
-- Criticity: 4 - Critical (red) (status 1)
|
-- Criticity: 4 - Critical (red) (status 1)
|
||||||
|
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
-- Table `tevent_extended`
|
||||||
|
-- ---------------------------------------------------------------------
|
||||||
|
CREATE TABLE IF NOT EXISTS `tevent_extended` (
|
||||||
|
`id` serial PRIMARY KEY,
|
||||||
|
`id_evento` bigint(20) unsigned NOT NULL,
|
||||||
|
`external_id` bigint(20) unsigned,
|
||||||
|
`utimestamp` bigint(20) NOT NULL default '0',
|
||||||
|
`description` text,
|
||||||
|
FOREIGN KEY `tevent_ext_fk`(`id_evento`) REFERENCES `tevento`(`id_evento`)
|
||||||
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
-- Table `tgrupo`
|
-- Table `tgrupo`
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue