From 75745509e2d5ae89f6384045893fa4057189fde8 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 1 Mar 2010 11:02:23 +0000 Subject: [PATCH] 2010-03-01 Miguel de Dios * extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in the sql data file of pandora. include/config_process.php: update the version. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../extras/pandoradb_migrate_v3.0_to_v3.1.sql | 10 +++++++++- pandora_console/include/config_process.php | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bb419ff84c..ba7a153e67 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-03-01 Miguel de Dios + + * extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in + the sql data file of pandora. + + include/config_process.php: update the version. + 2010-03-01 Miguel de Dios * godmode/gis_maps/configure_gis_map.php: erase console log in some parts diff --git a/pandora_console/extras/pandoradb_migrate_v3.0_to_v3.1.sql b/pandora_console/extras/pandoradb_migrate_v3.0_to_v3.1.sql index 7550f62532..dc9c980907 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.0_to_v3.1.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.0_to_v3.1.sql @@ -58,7 +58,7 @@ INSERT INTO ttipo_modulo (`id_tipo`, `nombre`, `categoria`, `descripcion`, `icon -- GIS extension Tables and DATA -- GIS is disabled by default -INSERT INTO tconfig (`token`, `value`) VALUES ('activate_gis', '0'); +INSERT INTO tconfig (`token`, `value`) VALUES ('activate_gis', '1'); -- ----------------------------------------------------- -- Table `tgis_data_history` @@ -129,6 +129,8 @@ CREATE TABLE IF NOT EXISTS `tgis_map` ( ENGINE = InnoDB COMMENT = 'Table containing information about a gis map'; +INSERT INTO `tgis_map` VALUES (1,'Sample',-3.708187,40.42056,0,16,'',-3.708187,40.42056,0,1,1); + -- ----------------------------------------------------- -- Table `tgis_map_connection` -- ----------------------------------------------------- @@ -150,6 +152,8 @@ CREATE TABLE IF NOT EXISTS `tgis_map_connection` ( ENGINE = InnoDB COMMENT = 'Table to store the map connection information'; +INSERT INTO `tgis_map_connection` VALUES (1,'OpenStreetMap','OSM','{\"type\":\"OSM\",\"url\":\"http://tile.openstreetmap.org/${z}/${x}/${y}.png\"}',19,16,-3.708187,40.42056,0,-3.708187,40.42056,0,1); + -- ----------------------------------------------------- -- Table `tgis_map_has_tgis_map_connection` -- ----------------------------------------------------- @@ -174,6 +178,8 @@ CREATE TABLE IF NOT EXISTS `tgis_map_has_tgis_map_connection` ( ENGINE = InnoDB COMMENT = 'Table to asociate a connection to a gis map'; +INSERT INTO `tgis_map_has_tgis_map_connection` VALUES (1,1,'2010-03-01 09:46:48',1); + -- ----------------------------------------------------- -- Table `tgis_map_layer` -- ----------------------------------------------------- @@ -194,6 +200,8 @@ CREATE TABLE IF NOT EXISTS `tgis_map_layer` ( ENGINE = InnoDB COMMENT = 'Table containing information about the map layers'; +INSERT INTO `tgis_map_layer` VALUES (1,'Group All',1,0,1,1); + -- ----------------------------------------------------- -- Table `tgis_map_layer_has_tagente` -- ----------------------------------------------------- diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 0eeaf3ccc3..feaa5355ed 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -22,7 +22,7 @@ /** * Pandora build version and version */ -$build_version = 'PC100209'; +$build_version = 'PC010310'; $pandora_version = 'v3.1-dev'; /* Help to debug problems. Override global PHP configuration */