source: admin/Database/ogAdmBD-1.0.6-1.1.0pre.sql @ ccbb493

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since ccbb493 was 750388b, checked in by ramon <ramongomez@…>, 10 years ago

#708 #725: Nuevos cambios en la estructura de la BD:

  • añadir campo para incluir imágenes en el Proyecto Remote PC;
  • añadir campo para servidor NTP de aulas.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@4720 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 1.8 KB
Line 
1### Fichero de actualización de la base de datos.
2# OpenGnSys 1.0.6 - 1.1.0
3#use ogAdmBD
4
5# Nuevos tipos de particiones.
6INSERT INTO tipospar (codpar, tipopar, clonable) VALUES
7        (CONV('A9',16,10), 'NETBSD', 1),
8        (CONV('2700',16,10), 'WIN-RECOV', 1),
9        (CONV('8302',16,10), 'LINUX', 1),
10        (CONV('A504',16,10), 'FREEBSD', 1),
11        (CONV('A901',16,10), 'NETBSD-SWAP', 0),
12        (CONV('A902',16,10), 'NETBSD', 1),
13        (CONV('A903',16,10), 'NETBSD', 1),
14        (CONV('A904',16,10), 'NETBSD', 1),
15        (CONV('A905',16,10), 'NETBSD', 1),
16        (CONV('A906',16,10), 'NETBSD-RAID', 1),
17        (CONV('AF02',16,10), 'HFS-RAID', 1),
18        (CONV('FB00',16,10), 'VMFS', 1),
19        (CONV('FB01',16,10), 'VMFS-RESERV', 1),
20        (CONV('FB02',16,10), 'VMFS-KRN', 1)
21        ON DUPLICATE KEY UPDATE
22                codpar=VALUES(codpar), tipopar=VALUES(tipopar), clonable=VALUES(clonable);
23
24# Añadir campos para aulas: servidor NTP e inclusión en proyecto Remote PC (tickets #725 y #708).
25ALTER TABLE aulas
26        ADD ntp VARCHAR(30) AFTER proxy,
27        ADD inremotepc TINYINT DEFAULT 0;
28# Añadir campo para incluir imágenes en proyecto Remote PC (ticket #708).
29ALTER TABLE imagenes
30        ADD inremotepc TINYINT DEFAULT 0;
31# Añadir campo para clave de acceso a la API REST (ticket #708).
32ALTER TABLE usuarios
33        ADD apikey VARCHAR(32) NOT NULL DEFAULT '';
34
35# Añadir porcentaje de uso de sistema de ficheros (ticket #711)
36ALTER TABLE ordenadores_particiones
37        ADD uso TINYINT NOT NULL DEFAULT 0;
38
39# Eliminar campo sin uso, nuevos componentes hardware y nº de serie (ticket #713)
40ALTER TABLE tipohardwares
41        DROP pci;
42INSERT INTO tipohardwares (idtipohardware, descripcion, urlimg, nemonico) VALUES
43        (17, 'Chasis del Sistema', '', 'cha'),
44        (18, 'Controladores de almacenamiento', '', 'sto'),
45        (19, 'Tipo de proceso de arranque', '', 'boo');
46ALTER TABLE ordenadores
47        ADD numserie varchar(25) DEFAULT NULL AFTER nombreordenador;
48
49
Note: See TracBrowser for help on using the repository browser.