From 9115d5c295ffb40798b66db9f98e98e6bf66df33 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Mon, 14 Feb 2011 09:54:06 +0000 Subject: [PATCH] 2011-02-14 Juan Manuel Ramon * pandoradb.sql extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added "block_size" and "flash_chart" columns on tusuario table. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql | 7 +++++++ pandora_console/pandoradb.sql | 2 ++ 3 files changed, 15 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 677dc7bbcd..d51ae77cd4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-02-14 Juan Manuel Ramon + + * pandoradb.sql + extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added "block_size" and + "flash_chart" columns on tusuario table. + 2011-02-14 Juan Manuel Ramon * include/functions_config.php: Loads relative_path variable in user diff --git a/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql b/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql index 84b491cb99..7b6f28acbb 100644 --- a/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql +++ b/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql @@ -32,3 +32,10 @@ ALTER TABLE `tnetwork_component` ADD COLUMN `post_process` double(18,13) default -- Table `treport_content` -- ----------------------------------------------------- ALTER TABLE treport_content ADD only_display_wrong tinyint(1) unsigned DEFAULT 0 NOT NULL; + +-- ----------------------------------------------------- +-- Table `tusuario` +-- ----------------------------------------------------- +ALTER TABLE `tusuario` ADD COLUMN `block_size` int(4) NOT NULL DEFAULT 20; +ALTER TABLE `tusuario` ADD COLUMN `flash_chart` int(4) NOT NULL DEFAULT 1; + diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 187d2ee587..54a1724372 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -720,6 +720,8 @@ CREATE TABLE IF NOT EXISTS `tusuario` ( `is_admin` tinyint(1) unsigned NOT NULL default '0', `language` varchar(10) default NULL, `timezone` varchar(50) default '', + `block_size` int(4) NOT NULL DEFAULT 20, + `flash_chart` int(4) NOT NULL DEFAULT 1, UNIQUE KEY `id_user` (`id_user`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;