diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ae699eceb9..9f035b44f6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-07-07 Juan Manuel Ramon + + * pandoradb_data.sql + pandoradb.data.postgreSQL.sql + pandoradb.data.oracle.sql: Default skin applied to all groups + by default. + 2011-07-06 Juan Manuel Ramon * include/styles/pandora.css diff --git a/pandora_console/pandoradb.data.oracle.sql b/pandora_console/pandoradb.data.oracle.sql index 2abeb31a6a..2753b6c167 100644 --- a/pandora_console/pandoradb.data.oracle.sql +++ b/pandora_console/pandoradb.data.oracle.sql @@ -129,14 +129,14 @@ END;; -- BEGIN LOCK TABLE tgrupo IN EXCLUSIVE MODE; -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (2,'Servers','server_database',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (4,'Firewalls','firewall',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (8,'Databases','database_gear',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (9,'Network','transmit',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (10,'Unknown','world',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (11,'Workstations','computer',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (12,'Applications','applications',0,0,0,'',0); -INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (13,'Web','world',0,0,0,'',0); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (2,'Servers','server_database',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (4,'Firewalls','firewall',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (8,'Databases','database_gear',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (9,'Network','transmit',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (10,'Unknown','world',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (11,'Workstations','computer',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (12,'Applications','applications',0,0,0,'',1); +INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id, id_skin) VALUES (13,'Web','world',0,0,0,'',1); COMMIT; END;; diff --git a/pandora_console/pandoradb.data.postgreSQL.sql b/pandora_console/pandoradb.data.postgreSQL.sql index ecccd0808e..37fa09befd 100644 --- a/pandora_console/pandoradb.data.postgreSQL.sql +++ b/pandora_console/pandoradb.data.postgreSQL.sql @@ -111,16 +111,16 @@ SELECT setval('tconfig_os_id_os_seq', (SELECT (SELECT MAX(id_os) FROM tconfig_os -- BEGIN WORK; LOCK TABLE "tgrupo"; -INSERT INTO "tgrupo" ("id_grupo", "nombre", "icon", "parent", "propagate", "disabled", "custom_id") +INSERT INTO "tgrupo" ("id_grupo", "nombre", "icon", "parent", "propagate", "disabled", "custom_id", "id_skin") VALUES -(2,'Servers','server_database',0,0,0,'',0), -(4,'Firewalls','firewall',0,0,0,'',0), -(8,'Databases','database_gear',0,0,0,'',0), -(9,'Network','transmit',0,0,0,'',0), -(10,'Unknown','world',0,0,0,'',0), -(11,'Workstations','computer',0,0,0,'',0), -(12,'Applications','applications',0,0,0,'',0), -(13,'Web','world',0,0,0,'',0); +(2,'Servers','server_database',0,0,0,'',1), +(4,'Firewalls','firewall',0,0,0,'',1), +(8,'Databases','database_gear',0,0,0,'',1), +(9,'Network','transmit',0,0,0,'',1), +(10,'Unknown','world',0,0,0,'',1), +(11,'Workstations','computer',0,0,0,'',1), +(12,'Applications','applications',0,0,0,'',1), +(13,'Web','world',0,0,0,'',1); COMMIT WORK; SELECT setval('tgrupo_id_grupo_seq', (SELECT (SELECT MAX(id_grupo) FROM tgrupo))); diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 428082dc53..4e1527b196 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -111,14 +111,14 @@ UNLOCK TABLES; LOCK TABLES `tgrupo` WRITE; INSERT INTO `tgrupo` VALUES -(2,'Servers','server_database',0,0,0,'',0), -(4,'Firewalls','firewall',0,0,0,'',0), -(8,'Databases','database_gear',0,0,0,'',0), -(9,'Network','transmit',0,0,0,'',0), -(10,'Unknown','world',0,0,0,'',0), -(11,'Workstations','computer',0,0,0,'',0), -(12,'Applications','applications',0,0,0,'',0), -(13,'Web','world',0,0,0,'',0); +(2,'Servers','server_database',0,0,0,'',1), +(4,'Firewalls','firewall',0,0,0,'',1), +(8,'Databases','database_gear',0,0,0,'',1), +(9,'Network','transmit',0,0,0,'',1), +(10,'Unknown','world',0,0,0,'',1), +(11,'Workstations','computer',0,0,0,'',1), +(12,'Applications','applications',0,0,0,'',1), +(13,'Web','world',0,0,0,'',1); UNLOCK TABLES;