mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added cusstom colums ( custom_string_1, custom_string_2, custom_string_3, custom_integer_1 and custom_integer_2) to tnetwork_component, added also some configuration parameters that were missing. Reordering a bit. And fixed a missplaced ';' git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e65d77e934
commit
e56cad3176
@ -1,3 +1,10 @@
|
|||||||
|
2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
|
||||||
|
|
||||||
|
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added cusstom colums (
|
||||||
|
custom_string_1, custom_string_2, custom_string_3, custom_integer_1 and
|
||||||
|
custom_integer_2) to tnetwork_component, added also some configuration
|
||||||
|
parameters that were missing. Reordering a bit. And fixed a missplaced ';'
|
||||||
|
|
||||||
2010-02-15 Eric Ross <eric.ross.c@gmail.com>
|
2010-02-15 Eric Ross <eric.ross.c@gmail.com>
|
||||||
First batch of changes to implement the new log4x data type.
|
First batch of changes to implement the new log4x data type.
|
||||||
|
|
||||||
|
@ -20,6 +20,12 @@ ALTER TABLE `tagente_modulo` ADD `custom_string_3` text default '';
|
|||||||
ALTER TABLE `tagente_modulo` ADD `custom_integer_1` int(10) default 0;
|
ALTER TABLE `tagente_modulo` ADD `custom_integer_1` int(10) default 0;
|
||||||
ALTER TABLE `tagente_modulo` ADD `custom_integer_2` int(10) default 0;
|
ALTER TABLE `tagente_modulo` ADD `custom_integer_2` int(10) default 0;
|
||||||
|
|
||||||
|
ALTER TABLE `tnetwork_component` ADD `custom_string_1` text default '';
|
||||||
|
ALTER TABLE `tnetwork_component` ADD `custom_string_2` text default '';
|
||||||
|
ALTER TABLE `tnetwork_component` ADD `custom_string_3` text default '';
|
||||||
|
ALTER TABLE `tnetwork_component` ADD `custom_integer_1` int(10) default 0;
|
||||||
|
ALTER TABLE `tnetwork_component` ADD `custom_integer_2` int(10) default 0;
|
||||||
|
|
||||||
ALTER TABLE tagente_datos_string DROP id_tagente_datos_string;
|
ALTER TABLE tagente_datos_string DROP id_tagente_datos_string;
|
||||||
CREATE INDEX idx_utimestamp USING BTREE ON tagente_datos_string(utimestamp);
|
CREATE INDEX idx_utimestamp USING BTREE ON tagente_datos_string(utimestamp);
|
||||||
|
|
||||||
@ -39,15 +45,19 @@ CREATE INDEX idx_utimestamp USING BTREE ON tagent_access(utimestamp);
|
|||||||
|
|
||||||
ALTER TABLE tusuario ADD `timezone` varchar(50) default '';
|
ALTER TABLE tusuario ADD `timezone` varchar(50) default '';
|
||||||
|
|
||||||
-- GIS extension Tables and DATA
|
|
||||||
|
|
||||||
-- GIS is disabled by default
|
|
||||||
INSERT INTO tconfig (`token`, `value`) VALUES ('activate_gis', '0');
|
|
||||||
|
|
||||||
-- Realtime statistics on/off and interval
|
-- Realtime statistics on/off and interval
|
||||||
INSERT INTO tconfig (`token`, `value`) VALUES ('realtimestats', '1');
|
INSERT INTO tconfig (`token`, `value`) VALUES ('realtimestats', '1');
|
||||||
INSERT INTO tconfig (`token`, `value`) VALUES ('stats_interval', '300');
|
INSERT INTO tconfig (`token`, `value`) VALUES ('stats_interval', '300');
|
||||||
|
|
||||||
|
-- Log4x Module
|
||||||
|
|
||||||
|
INSERT INTO ttipo_modulo (`id_tipo`, `nombre`, `categoria`, `descripcion`, `icon`) VALUES (30, 'log4x', 0, 'Log4x', 'mod_log4x.png');
|
||||||
|
|
||||||
|
|
||||||
|
-- GIS extension Tables and DATA
|
||||||
|
|
||||||
|
-- GIS is disabled by default
|
||||||
|
INSERT INTO tconfig (`token`, `value`) VALUES ('activate_gis', '0');
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tgis_data`
|
-- Table `tgis_data`
|
||||||
@ -203,8 +213,8 @@ CREATE TABLE IF NOT EXISTS `tgroup_stat` (
|
|||||||
`utimestamp` int(20) unsigned NOT NULL default 0,
|
`utimestamp` int(20) unsigned NOT NULL default 0,
|
||||||
PRIMARY KEY (`id_group`)
|
PRIMARY KEY (`id_group`)
|
||||||
) ENGINE=InnoDB
|
) ENGINE=InnoDB
|
||||||
COMMENT = 'Table to store global system stats per group';
|
COMMENT = 'Table to store global system stats per group'
|
||||||
DEFAULT CHARSET=utf8
|
DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tagente_datos_log4x`
|
-- Table `tagente_datos_log4x`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user