2011-05-16 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql pandoradb.sql pandoradb.data.postgreSQL.sql pandoradb.data.oracle.sql: Fixed default values into tusuario_perfil and tgrupo git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
71dd29ec2d
commit
83aa193eed
|
@ -1,3 +1,11 @@
|
|||
2011-05-16 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* pandoradb_data.sql
|
||||
pandoradb.sql
|
||||
pandoradb.data.postgreSQL.sql
|
||||
pandoradb.data.oracle.sql: Fixed default values into tusuario_perfil
|
||||
and tgrupo
|
||||
|
||||
2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* pandoradb.oracle.sql: Removed PK from id_agente_modulo field of
|
||||
|
|
|
@ -129,14 +129,14 @@ END;;
|
|||
--
|
||||
BEGIN
|
||||
LOCK TABLE tgrupo IN EXCLUSIVE MODE;
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (2,'Servers','server_database',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (4,'Firewalls','firewall',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (8,'Databases','database_gear',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (9,'Network','transmit',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (10,'Unknown','world',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (11,'Workstations','computer',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (12,'Applications','applications',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (13,'Web','world',0,0,0,'');
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (2,'Servers','server_database',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (4,'Firewalls','firewall',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (8,'Databases','database_gear',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (9,'Network','transmit',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (10,'Unknown','world',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (11,'Workstations','computer',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (12,'Applications','applications',0,0,0,'',0);
|
||||
INSERT INTO tgrupo (id_grupo, nombre, icon, parent, propagate, disabled, custom_id) VALUES (13,'Web','world',0,0,0,'',0);
|
||||
COMMIT;
|
||||
END;;
|
||||
|
||||
|
@ -278,7 +278,7 @@ END;;
|
|||
--
|
||||
BEGIN
|
||||
LOCK TABLE tusuario_perfil IN EXCLUSIVE MODE;
|
||||
INSERT INTO tusuario_perfil VALUES (1,'admin',5,0,'admin');
|
||||
INSERT INTO tusuario_perfil VALUES (1,'admin',5,0,'admin',0);
|
||||
COMMIT;
|
||||
END;;
|
||||
|
||||
|
|
|
@ -113,14 +113,14 @@ BEGIN WORK;
|
|||
LOCK TABLE "tgrupo";
|
||||
INSERT INTO "tgrupo" ("id_grupo", "nombre", "icon", "parent", "propagate", "disabled", "custom_id")
|
||||
VALUES
|
||||
(2,'Servers','server_database',0,0,0,''),
|
||||
(4,'Firewalls','firewall',0,0,0,''),
|
||||
(8,'Databases','database_gear',0,0,0,''),
|
||||
(9,'Network','transmit',0,0,0,''),
|
||||
(10,'Unknown','world',0,0,0,''),
|
||||
(11,'Workstations','computer',0,0,0,''),
|
||||
(12,'Applications','applications',0,0,0,''),
|
||||
(13,'Web','world',0,0,0,'');
|
||||
(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);
|
||||
COMMIT WORK;
|
||||
SELECT setval('tgrupo_id_grupo_seq', (SELECT (SELECT MAX(id_grupo) FROM tgrupo)));
|
||||
|
||||
|
@ -252,7 +252,7 @@ INSERT INTO "tusuario" ("id_user", "fullname", "firstname", "lastname", "middlen
|
|||
--
|
||||
-- Dumping data for table "tusuario_perfil"
|
||||
--
|
||||
INSERT INTO "tusuario_perfil" VALUES (1,'admin',5,0,'admin');
|
||||
INSERT INTO "tusuario_perfil" VALUES (1,'admin',5,0,'admin',0);
|
||||
SELECT setval('tusuario_perfil_id_up_seq', (SELECT (SELECT MAX(id_up) FROM tusuario_perfil)));
|
||||
|
||||
--
|
||||
|
|
|
@ -440,7 +440,7 @@ CREATE TABLE IF NOT EXISTS `tgrupo` (
|
|||
`propagate` tinyint(1) unsigned NOT NULL default '0',
|
||||
`disabled` tinyint(3) unsigned NOT NULL default '0',
|
||||
`custom_id` varchar(255) default '',
|
||||
`id_skin` int(10) unsigned NOT NULL,
|
||||
`id_skin` int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`id_grupo`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
|
@ -111,14 +111,14 @@ UNLOCK TABLES;
|
|||
|
||||
LOCK TABLES `tgrupo` WRITE;
|
||||
INSERT INTO `tgrupo` VALUES
|
||||
(2,'Servers','server_database',0,0,0,''),
|
||||
(4,'Firewalls','firewall',0,0,0,''),
|
||||
(8,'Databases','database_gear',0,0,0,''),
|
||||
(9,'Network','transmit',0,0,0,''),
|
||||
(10,'Unknown','world',0,0,0,''),
|
||||
(11,'Workstations','computer',0,0,0,''),
|
||||
(12,'Applications','applications',0,0,0,''),
|
||||
(13,'Web','world',0,0,0,'');
|
||||
(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);
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
|
@ -256,7 +256,7 @@ INSERT INTO `tusuario` (`id_user`, `fullname`, `firstname`, `lastname`, `middlen
|
|||
-- Dumping data for table `tusuario_perfil`
|
||||
--
|
||||
|
||||
INSERT INTO `tusuario_perfil` VALUES (1,'admin',5,0,'admin');
|
||||
INSERT INTO `tusuario_perfil` VALUES (1,'admin',5,0,'admin',0);
|
||||
|
||||
--
|
||||
-- Dumping data for table `tperfil`
|
||||
|
|
Loading…
Reference in New Issue