source: admin/Database/ogBDAdmin.sql @ 74c04a0

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 74c04a0 was ee7f729, checked in by alonso <alonso@…>, 15 years ago

git-svn-id: https://opengnsys.es/svn/trunk@1025 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 41.5 KB
Line 
1-- phpMyAdmin SQL Dump
2-- version 2.10.0.2
3-- http://www.phpmyadmin.net
4--
5-- Servidor: localhost
6-- Tiempo de generación: 28-10-2009 a las 12:33:31
7-- Versión del servidor: 5.0.27
8-- Versión de PHP: 5.1.6
9
10SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11
12--
13-- Base de datos: `bdhidra`
14--
15
16-- --------------------------------------------------------
17
18--
19-- Estructura de tabla para la tabla `acciones`
20--
21
22DROP TABLE IF EXISTS `acciones`;
23CREATE TABLE IF NOT EXISTS `acciones` (
24  `idaccion` int(11) NOT NULL auto_increment,
25  `tipoaccion` int(11) NOT NULL default '0',
26  `idtipoaccion` int(11) default NULL,
27  `cateaccion` tinyint(4) default NULL,
28  `ambito` tinyint(4) default NULL,
29  `idambito` int(11) default NULL,
30  `ambitskwrk` text,
31  `fechahorareg` datetime NOT NULL default '0000-00-00 00:00:00',
32  `fechahorafin` datetime NOT NULL default '0000-00-00 00:00:00',
33  `parametros` text,
34  `estado` char(1) default NULL,
35  `resultado` char(1) default NULL,
36  `idcentro` int(11) default NULL,
37  `accionid` int(11) default NULL,
38  `idnotificador` int(11) default NULL,
39  PRIMARY KEY  (`idaccion`)
40) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
41
42--
43-- Volcar la base de datos para la tabla `acciones`
44--
45
46
47-- --------------------------------------------------------
48
49--
50-- Estructura de tabla para la tabla `acciones_menus`
51--
52
53DROP TABLE IF EXISTS `acciones_menus`;
54CREATE TABLE IF NOT EXISTS `acciones_menus` (
55  `idaccionmenu` int(11) NOT NULL auto_increment,
56  `tipoaccion` tinyint(4) NOT NULL default '0',
57  `idtipoaccion` int(11) NOT NULL default '0',
58  `idmenu` int(11) NOT NULL default '0',
59  `tipoitem` tinyint(4) default NULL,
60  `idurlimg` int(11) default NULL,
61  `descripitem` varchar(250) default NULL,
62  `orden` tinyint(4) default NULL,
63  PRIMARY KEY  (`idaccionmenu`)
64) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
65
66--
67-- Volcar la base de datos para la tabla `acciones_menus`
68--
69
70
71-- --------------------------------------------------------
72
73--
74-- Estructura de tabla para la tabla `aulas`
75--
76
77DROP TABLE IF EXISTS `aulas`;
78CREATE TABLE IF NOT EXISTS `aulas` (
79  `idaula` int(11) NOT NULL auto_increment,
80  `nombreaula` varchar(100) NOT NULL default '',
81  `idcentro` int(11) NOT NULL default '0',
82  `urlfoto` varchar(250) default NULL,
83  `cuadro_y` char(3) default NULL,
84  `cuadro_x` char(3) default NULL,
85  `cagnon` tinyint(1) default NULL,
86  `pizarra` tinyint(1) default NULL,
87  `grupoid` int(11) default NULL,
88  `ubicacion` varchar(255) default NULL,
89  `comentarios` text,
90  `puestos` tinyint(4) default NULL,
91  `horaresevini` tinyint(4) default NULL,
92  `horaresevfin` tinyint(4) default NULL,
93  PRIMARY KEY  (`idaula`)
94) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
95
96--
97-- Volcar la base de datos para la tabla `aulas`
98--
99
100
101-- --------------------------------------------------------
102
103--
104-- Estructura de tabla para la tabla `campus`
105--
106
107DROP TABLE IF EXISTS `campus`;
108CREATE TABLE IF NOT EXISTS `campus` (
109  `idcampus` int(11) NOT NULL auto_increment,
110  `nombrecampus` varchar(100) NOT NULL default '',
111  `iduniversidad` int(11) default NULL,
112  `urlmapa` varchar(255) default NULL,
113  `cuadro_y` tinyint(3) default NULL,
114  `cuadro_x` tinyint(3) default NULL,
115  PRIMARY KEY  (`idcampus`)
116) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
117
118--
119-- Volcar la base de datos para la tabla `campus`
120--
121
122
123-- --------------------------------------------------------
124
125--
126-- Estructura de tabla para la tabla `centros`
127--
128
129DROP TABLE IF EXISTS `centros`;
130CREATE TABLE IF NOT EXISTS `centros` (
131  `idcentro` int(11) NOT NULL auto_increment,
132  `nombrecentro` varchar(100) NOT NULL default '',
133  `identidad` int(11) default NULL,
134  `comentarios` text,
135  PRIMARY KEY  (`idcentro`)
136) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
137
138--
139-- Volcar la base de datos para la tabla `centros`
140--
141INSERT INTO `centros` (`idcentro`,`nombrecentro`,`identidad`,`comentarios`) VALUES
142 (1,'Unidad organizativa (Default)',1,'Esta Unidad Organizativa se crea automáticamente en el proceso de instalación de OpenGNSys');
143 
144
145-- --------------------------------------------------------
146
147--
148-- Estructura de tabla para la tabla `comandos`
149--
150
151DROP TABLE IF EXISTS `comandos`;
152CREATE TABLE IF NOT EXISTS `comandos` (
153  `idcomando` int(11) NOT NULL auto_increment,
154  `descripcion` varchar(250) NOT NULL default '',
155  `nfuncion1` varchar(250) default NULL,
156  `nfuncion2` varchar(250) default NULL,
157  `nfuncion4` varchar(250) default NULL,
158  `nfuncion8` varchar(250) default NULL,
159  `nfuncion10` varchar(250) default NULL,
160  `urlimg` varchar(250) default NULL,
161  `urlamb1` varchar(250) default NULL,
162  `urlamb2` varchar(250) default NULL,
163  `urlamb4` varchar(250) default NULL,
164  `urlamb8` varchar(250) default NULL,
165  `urlamb10` varchar(250) default NULL,
166  `aplicambito` tinyint(4) default NULL,
167  `visuparametros` varchar(250) default NULL,
168  `parametros` varchar(250) default NULL,
169  `comentarios` text,
170  `interactivo` tinyint(1) default NULL,
171  `ejecutor` char(1) default NULL,
172  `activo` tinyint(1) NOT NULL,
173  PRIMARY KEY  (`idcomando`)
174) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
175
176--
177-- Volcar la base de datos para la tabla `comandos`
178--
179
180INSERT INTO `comandos` (`idcomando`, `descripcion`, `nfuncion1`, `nfuncion2`, `nfuncion4`, `nfuncion8`, `nfuncion10`, `urlimg`, `urlamb1`, `urlamb2`, `urlamb4`, `urlamb8`, `urlamb10`, `aplicambito`, `visuparametros`, `parametros`, `comentarios`, `interactivo`, `ejecutor`, `activo`) VALUES
181(1, 'Arrancar', 'Arrancar', 'Arrancar', 'Arrancar', 'Arrancar', 'Arrancar', '', '../comandos/Arrancar.php', '../comandos/Arrancar.php', '../comandos/Arrancar.php', '../comandos/Arrancar.php', '../comandos/Arrancar.php', 31, 'iph', 'nfn;iph;mac', '', 1, '1', 1),
182(2, 'Apagar', 'Apagar', 'Apagar', 'Apagar', 'Apagar', 'Apagar', '', '../comandos/Apagar.php', '../comandos/Apagar.php', '../comandos/Apagar.php', '../comandos/Apagar.php', '../comandos/Apagar.php', 31, 'iph', 'nfn;iph', '', 1, '2', 1),
183(3, 'Restaurar Imagen', '', '', 'RestaurarImagen', 'RestaurarImagen', 'RestaurarImagen', '', '', '', '../comandos/RestaurarImagenAula.php', '../comandos/RestaurarImagenGrupoOrdenadores.php', '../comandos/RestaurarImagenOrdenador.php', 28, 'idi;par;iph;mcl', 'nfn;iph;par;idi;ifs;ifh;nem;idc;ida;swr', '', 1, '2', 1),
184(4, 'Crear Imagen', '', '', '', '', 'CrearPerfilSoftware', '', '', '', '', '', '../comandos/CrearPerfilSoftware.php', 16, 'ifs;ifh;par', 'nfn;iph;par;ifs;ifh;nem;', '', 1, '2', 1),
185(5, 'Reiniciar', 'Reiniciar', 'Reiniciar', 'Reiniciar', 'Reiniciar', 'Reiniciar', '', '../comandos/Reiniciar.php', '../comandos/Reiniciar.php', '../comandos/Reiniciar.php', '../comandos/Reiniciar.php', '../comandos/Reiniciar.php', 31, 'iph', 'nfn;iph', '', 1, '2', 1),
186(6, 'Inventario Hardware', '', '', '', '', 'InventarioHardware', '', '', '', '', '', '../comandos/InventarioHardware.php', 16, 'iph', 'nfn;iph', '', 1, '2', 1),
187(7, 'Inventario Software', '', '', '', '', 'InventarioSoftware', '', '', '', '', '', '../comandos/InventarioSoftware.php', 16, 'iph;par', 'nfn;iph;par', '', 1, '2', 1),
188(8, 'Ejecutar Script', 'ExecShell', 'ExecShell', 'ExecShell', 'ExecShell', 'ExecShell', '', '../comandos/EjecutarScripts.php', '../comandos/EjecutarScripts.php', '../comandos/EjecutarScripts.php', '../comandos/EjecutarScripts.php', '../comandos/EjecutarScripts.php', 31, 'iph;tis;dcr;scp', 'nfn;iph;tis;dcr;scp', '', 1, '2', 1),
189(9, 'Particionar y formatear', '', '', 'ParticionaryFormatear', 'ParticionaryFormatear', 'ParticionaryFormatear', '', '', '', '../comandos/Configurar.php', '../comandos/Configurar.php', '../comandos/Configurar.php', 28, 'iph;ppa;lpa;hdc', 'nfn;iph;ppa;lpa;hdc', '', 1, '2', 1),
190(10, 'Particionar y Formatear', '', '', 'ParticionaryFormatear', 'ParticionaryFormatear', 'ParticionaryFormatear', '', '', '', '../comandos/Particionar.php', '../comandos/Particionar.php', '../comandos/Particionar.php', 28, 'iph;ppa;lpa;hdc', 'nfn;iph;ppa;lpa;hdc', '', 1, '2', 0),
191(11, 'Generar software Incremental', '', '', '', '', 'CrearSoftwareIncremental', '', '', '', '', '', '../comandos/CrearSoftIncremental.php', 16, 'ifs;ifh;par;icr', 'nfn;iph;par;ifs;ifh;nem;icr', '', 1, '2', 0),
192(12, 'Activar Rembo Off Line', 'RemboOffline', 'RemboOffline', 'RemboOffline', 'RemboOffline', 'RemboOffline', '', '../comandos/RemboOffline.php', '../comandos/RemboOffline.php', '../comandos/RemboOffline.php', '../comandos/RemboOffline.php', '../comandos/RemboOffline.php', 31, 'iph', 'nfn;iph', '', 1, '2', 0),
193(13, 'Tomar Configuracion', 'TomaConfiguracion', 'TomaConfiguracion', 'TomaConfiguracion', 'TomaConfiguracion', 'TomaConfiguracion', '', '../comandos/TomaConfiguracion.php', '../comandos/TomaConfiguracion.php', '../comandos/TomaConfiguracion.php', '../comandos/TomaConfiguracion.php', '../comandos/TomaConfiguracion.php', 31, 'iph', 'nfn;iph', '', 1, '2', 0),
194(14, 'Iniciar Sesion', 'IniciarSesion', 'IniciarSesion', 'IniciarSesion', 'IniciarSesion', 'IniciarSesion', '', '../comandos/IniciarSesion.php', '../comandos/IniciarSesion.php', '../comandos/IniciarSesion.php', '../comandos/IniciarSesion.php', '../comandos/IniciarSesion.php', 31, 'iph;par', 'nfn;iph;par', '', 1, '2', 1);
195
196-- --------------------------------------------------------
197
198--
199-- Estructura de tabla para la tabla `comandos_eng`
200--
201
202DROP TABLE IF EXISTS `comandos_eng`;
203CREATE TABLE IF NOT EXISTS `comandos_eng` (
204  `idcomando` int(11) NOT NULL auto_increment,
205  `descripcion` varchar(250) NOT NULL default '',
206  `nfuncion1` varchar(250) default NULL,
207  `nfuncion2` varchar(250) default NULL,
208  `nfuncion4` varchar(250) default NULL,
209  `nfuncion8` varchar(250) default NULL,
210  `nfuncion10` varchar(250) default NULL,
211  `urlimg` varchar(250) default NULL,
212  `urlamb1` varchar(250) default NULL,
213  `urlamb2` varchar(250) default NULL,
214  `urlamb4` varchar(250) default NULL,
215  `urlamb8` varchar(250) default NULL,
216  `urlamb10` varchar(250) default NULL,
217  `aplicambito` tinyint(4) default NULL,
218  `visuparametros` varchar(250) default NULL,
219  `parametros` varchar(250) default NULL,
220  `comentarios` text,
221  `interactivo` tinyint(1) default NULL,
222  `ejecutor` char(1) default NULL,
223  PRIMARY KEY  (`idcomando`)
224) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
225
226--
227-- Volcar la base de datos para la tabla `comandos_eng`
228--
229
230
231-- --------------------------------------------------------
232
233--
234-- Estructura de tabla para la tabla `configuraciones`
235--
236
237DROP TABLE IF EXISTS `configuraciones`;
238CREATE TABLE IF NOT EXISTS `configuraciones` (
239  `idconfiguracion` int(11) NOT NULL auto_increment,
240  `descripcion` varchar(250) default NULL,
241  `configuracion` text NOT NULL,
242  PRIMARY KEY  (`idconfiguracion`)
243) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
244
245--
246-- Volcar la base de datos para la tabla `configuraciones`
247--
248
249
250-- --------------------------------------------------------
251
252--
253-- Estructura de tabla para la tabla `entidades`
254--
255
256DROP TABLE IF EXISTS `entidades`;
257CREATE TABLE IF NOT EXISTS `entidades` (
258  `identidad` int(11) NOT NULL auto_increment,
259  `nombreentidad` varchar(200) NOT NULL default '',
260  `comentarios` text,
261  `iduniversidad` int(11) default NULL,
262  `grupoid` int(11) default NULL,
263  PRIMARY KEY  (`identidad`)
264) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
265
266--
267-- Volcar la base de datos para la tabla `entidades`
268--
269INSERT INTO `entidades` (`identidad`,`nombreentidad`,`comentarios`,`iduniversidad`,`grupoid`) VALUES
270 (1,'Entidad (Default)','Esta Entidad se crea automáticamente se crea automáticamente en el proceso de instalación de OpenGNSys',1,0);
271-- --------------------------------------------------------
272
273--
274-- Estructura de tabla para la tabla `estatus`
275--
276
277DROP TABLE IF EXISTS `estatus`;
278CREATE TABLE IF NOT EXISTS `estatus` (
279  `idestatus` int(11) NOT NULL auto_increment,
280  `descripcion` varchar(250) NOT NULL default '',
281  PRIMARY KEY  (`idestatus`)
282) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
283
284--
285-- Volcar la base de datos para la tabla `estatus`
286--
287
288INSERT INTO `estatus` (`idestatus`, `descripcion`) VALUES
289(1, 'P.D.I. ( Profesor)'),
290(2, 'P.A.S.'),
291(3, 'Doctor'),
292(4, 'Alumno'),
293(5, 'Otros');
294
295-- --------------------------------------------------------
296
297--
298-- Estructura de tabla para la tabla `grupos`
299--
300
301DROP TABLE IF EXISTS `grupos`;
302CREATE TABLE IF NOT EXISTS `grupos` (
303  `idgrupo` int(11) NOT NULL auto_increment,
304  `nombregrupo` varchar(250) NOT NULL default '',
305  `grupoid` int(11) NOT NULL default '0',
306  `tipo` tinyint(4) NOT NULL default '0',
307  `idcentro` int(11) NOT NULL default '0',
308  `iduniversidad` int(11) default NULL,
309  `comentarios` text,
310  PRIMARY KEY  (`idgrupo`)
311) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
312
313--
314-- Volcar la base de datos para la tabla `grupos`
315--
316
317
318-- --------------------------------------------------------
319
320--
321-- Estructura de tabla para la tabla `gruposordenadores`
322--
323
324DROP TABLE IF EXISTS `gruposordenadores`;
325CREATE TABLE IF NOT EXISTS `gruposordenadores` (
326  `idgrupo` int(11) NOT NULL auto_increment,
327  `nombregrupoordenador` varchar(250) NOT NULL default '',
328  `idaula` int(11) NOT NULL default '0',
329  `grupoid` int(11) default NULL,
330  `comentarios` text,
331  PRIMARY KEY  (`idgrupo`)
332) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
333
334--
335-- Estructura de tabla para la tabla `hardwares`
336--
337DROP TABLE IF EXISTS `hardwares`; 
338CREATE TABLE IF NOT EXISTS `hardwares` (
339  `idhardware` int(11) NOT NULL auto_increment,
340  `idtipohardware` int(11) NOT NULL default '0',
341  `descripcion` varchar(250) NOT NULL default '',
342  `idcentro` int(11) NOT NULL default '0',
343  `grupoid` int(11) default NULL,
344  PRIMARY KEY  (`idhardware`)
345) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
346-- --------------------------------------------------------
347
348--
349-- Estructura de tabla para la tabla `iconos`
350--
351
352DROP TABLE IF EXISTS `iconos`;
353CREATE TABLE IF NOT EXISTS `iconos` (
354  `idicono` int(11) NOT NULL auto_increment,
355  `urlicono` varchar(200) default NULL,
356  `idtipoicono` int(11) default NULL,
357  `descripcion` varchar(250) default NULL,
358  PRIMARY KEY  (`idicono`)
359) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
360
361--
362-- Volcar la base de datos para la tabla `iconos`
363--
364
365INSERT INTO `iconos` (`idicono`, `urlicono`, `idtipoicono`, `descripcion`) VALUES
366 (1,'vga.gif',1,'Tarjeta gráfica'),
367 (2,'nic.gif',1,'Tarjeta de Red'),
368 (3,'placabase.gif',1,'Placas base'),
369 (4,'tsonido.gif',1,'Tarjeta de sonido'),
370 (5,'camweb.gif',1,'Cámara web'),
371 (6,'logoXP.png',2,'Logo Windows XP'),
372 (7,'logolinux.png',2,'Logo General de Linux'),
373 (8,'particionar.png',2,'Particionar'),
374 (9,'ordenadoroff.png',2,'Ordenador apagado'),
375 (10,'ordenadoron.png',2,'Ordenador encendido'),
376 (11,'usb.gif',1,'Mi icono usb'),
377 (12,'ide.gif',1,'Controladores IDE'),
378 (13,'dvdcd.gif',1,'Lectoras y grabadoras de DVD'),
379 (14,'audio.gif',1,'Dispositivos de audio');
380
381-- --------------------------------------------------------
382
383--
384-- Estructura de tabla para la tabla `idiomas`
385--
386
387DROP TABLE IF EXISTS `idiomas`;
388CREATE TABLE IF NOT EXISTS `idiomas` (
389  `ididioma` int(11) NOT NULL auto_increment,
390  `descripcion` varchar(100) default NULL,
391  `nemonico` char(3) default NULL,
392  PRIMARY KEY  (`ididioma`)
393) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
394
395--
396-- Volcar la base de datos para la tabla `idiomas`
397--
398
399INSERT INTO `idiomas` (`ididioma`, `descripcion`, `nemonico`) VALUES
400(1, 'Español', 'esp'),
401(2, 'Ingles', 'eng'),
402(3, 'Catalan', 'cat');
403
404-- --------------------------------------------------------
405
406--
407-- Estructura de tabla para la tabla `imagenes`
408--
409
410DROP TABLE IF EXISTS `imagenes`;
411CREATE TABLE IF NOT EXISTS `imagenes` (
412  `idimagen` int(11) NOT NULL auto_increment,
413  `descripcion` varchar(250) NOT NULL default '',
414  `idperfilsoft` int(11) default NULL,
415  `idcentro` int(11) default NULL,
416  `comentarios` text,
417  `grupoid` int(11) default NULL,
418  PRIMARY KEY  (`idimagen`)
419) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
420
421--
422-- Volcar la base de datos para la tabla `imagenes`
423--
424
425
426-- --------------------------------------------------------
427
428--
429-- Estructura de tabla para la tabla `imagenes_softincremental`
430--
431
432DROP TABLE IF EXISTS `imagenes_softincremental`;
433CREATE TABLE IF NOT EXISTS `imagenes_softincremental` (
434  `idimagen` int(11) NOT NULL default '0',
435  `idsoftincremental` int(11) NOT NULL default '0'
436) ENGINE=MyISAM DEFAULT CHARSET=utf8;
437
438--
439-- Volcar la base de datos para la tabla `imagenes_softincremental`
440--
441
442
443-- --------------------------------------------------------
444
445--
446-- Estructura de tabla para la tabla `menus`
447--
448
449DROP TABLE IF EXISTS `menus`;
450CREATE TABLE IF NOT EXISTS `menus` (
451  `idmenu` int(11) NOT NULL auto_increment,
452  `descripcion` varchar(250) NOT NULL default '',
453  `idcentro` int(11) NOT NULL default '0',
454  `urlimg` varchar(250) default NULL,
455  `titulo` varchar(250) default NULL,
456  `coorx` int(11) default NULL,
457  `coory` int(11) default NULL,
458  `modalidad` tinyint(4) default NULL,
459  `scoorx` int(11) default NULL,
460  `scoory` int(11) default NULL,
461  `smodalidad` tinyint(4) default NULL,
462  `comentarios` text,
463  `grupoid` int(11) NOT NULL default '0',
464  `htmlmenupub` varchar(250) default NULL,
465  `htmlmenupri` varchar(250) default NULL,
466  `resolucion` tinyint(4) default NULL,
467  PRIMARY KEY  (`idmenu`)
468) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
469
470--
471-- Volcar la base de datos para la tabla `menus`
472--
473
474
475-- --------------------------------------------------------
476
477--
478-- Estructura de tabla para la tabla `notificaciones`
479--
480
481DROP TABLE IF EXISTS `notificaciones`;
482CREATE TABLE IF NOT EXISTS `notificaciones` (
483  `idnotificacion` int(11) NOT NULL auto_increment,
484  `accionid` int(11) NOT NULL default '0',
485  `idnotificador` int(11) default NULL,
486  `fechahorareg` datetime default '0000-00-00 00:00:00',
487  `resultado` char(1) default NULL,
488  `descrinotificacion` text,
489  `idaccion` int(11) default NULL,
490  PRIMARY KEY  (`idnotificacion`)
491) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
492
493--
494-- Volcar la base de datos para la tabla `notificaciones`
495--
496
497
498-- --------------------------------------------------------
499
500--
501-- Estructura de tabla para la tabla `ordenadores`
502--
503
504DROP TABLE IF EXISTS `ordenadores`;
505CREATE TABLE IF NOT EXISTS `ordenadores` (
506  `idordenador` int(11) NOT NULL AUTO_INCREMENT,
507  `nombreordenador` varchar(100) DEFAULT NULL,
508  `ip` varchar(16) NOT NULL,
509  `mac` varchar(12) DEFAULT NULL,
510  `idaula` int(11) DEFAULT NULL,
511  `idperfilhard` int(11) DEFAULT NULL,
512  `idservidordhcp` int(11) DEFAULT NULL,
513  `idservidorrembo` int(11) DEFAULT NULL,
514  `grupoid` int(11) DEFAULT NULL,
515  `idconfiguracion` int(11) DEFAULT NULL,
516  `idmenu` int(11) DEFAULT NULL,
517  `idparticion` int(11) DEFAULT NULL,
518  `cache` int(11) DEFAULT NULL,
519  `modomul` tinyint(4) NOT NULL,
520  `ipmul` varchar(16) NOT NULL,
521  `pormul` int(11) NOT NULL,
522  `velmul` smallint(6) NOT NULL,
523  PRIMARY KEY (`idordenador`)
524) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
525
526--
527-- Volcar la base de datos para la tabla `ordenadores`
528--
529
530
531-- --------------------------------------------------------
532
533--
534-- Estructura de tabla para la tabla `ordenador_imagen`
535--
536
537DROP TABLE IF EXISTS `ordenador_imagen`;
538CREATE TABLE IF NOT EXISTS `ordenador_imagen` (
539  `idordenador` int(11) NOT NULL default '0',
540  `particion` int(11) NOT NULL default '0',
541  `idimagen` int(11) NOT NULL default '0'
542) ENGINE=MyISAM DEFAULT CHARSET=utf8;
543
544--
545-- Volcar la base de datos para la tabla `ordenador_imagen`
546--
547
548-- --------------------------------------------------------
549
550--
551-- Estructura de tabla para la tabla `ordenador_imagen`
552--
553
554DROP TABLE IF EXISTS `ordenador_perfilsoft`;
555CREATE TABLE `ordenador_perfilsoft` (
556  `idordenador` int(11) NOT NULL default '0',
557  `particion` int(11) NOT NULL default '0',
558  `idperfilsoft` int(11) NOT NULL default '0'
559) ENGINE=MyISAM DEFAULT CHARSET=utf8;
560
561-- --------------------------------------------------------
562
563--
564-- Estructura de tabla para la tabla `parametros`
565--
566
567DROP TABLE IF EXISTS `parametros`;
568CREATE TABLE IF NOT EXISTS `parametros` (
569  `idparametro` int(11) NOT NULL auto_increment,
570  `nemonico` char(3) NOT NULL default '',
571  `descripcion` varchar(250) NOT NULL default '',
572  `nomidentificador` varchar(50) default NULL,
573  `nomtabla` varchar(100) default NULL,
574  `nomliteral` varchar(250) default NULL,
575  `tipopa` tinyint(1) default NULL,
576  PRIMARY KEY  (`idparametro`)
577) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;
578
579--
580-- Volcar la base de datos para la tabla `parametros`
581--
582
583INSERT INTO `parametros` (`idparametro`, `nemonico`, `descripcion`, `nomidentificador`, `nomtabla`, `nomliteral`, `tipopa`) VALUES
584(1, 'iph', 'Ordenadores', '', '', '', 0),
585(2, 'nfn', 'Nombre de la función a ejecutar en el servidor o en el cliente rembo', '', '', '', 0),
586(3, 'eje', 'Ejecutor del comando (servidor o cliente rembo)', '', '', '', 0),
587(4, 'par', 'Partición', '', '', '', 0),
588(5, 'ifs', 'Perfil Software', 'idperfilsoft', 'perfilessoft', 'descripcion', 1),
589(6, 'ifh', 'Perfil Hardware', 'idperfilhard', 'perfileshard', 'descripcion', 1),
590(7, 'nem', 'Nemónico', '', '', '', 0),
591(8, 'idc', 'Centro', 'idcentro', 'centros', '', 1),
592(9, 'ida', 'Aula', 'idaula', 'aulas', 'nombreaula', 1),
593(10, 'idi', 'Imagen', 'idimagen', 'imagenes', 'descripcion', 1),
594(11, 'mac', 'Dirección Mac', '', '', '', 0),
595(12, 'cmd', 'Identificador de un comando dentro de una tarea', 'idtareacomando', 'tareas_comando', '', 1),
596(13, 'ppa', 'Particiones primarias', '', '', '', 0),
597(14, 'lpa', 'Particiones Lógicas', '', '', '', 0),
598(15, 'hdc', 'Particiones a formatear', '', '', '', 0),
599(16, 'tis', 'Título del Script', '', '', '', 0),
600(17, 'scp', 'Código bash', '', '', '', 0),
601(18, 'dcr', 'Descripción', '', '', '', 0),
602(19, 'icr', 'Software Incremental', 'idsoftincremental', 'softincrementales', 'descripcion', 1),
603(20, 'mcl', 'Protocolo de clonación', '', '', '', 0);
604
605-- --------------------------------------------------------
606
607--
608-- Estructura de tabla para la tabla `particiones`
609--
610
611DROP TABLE IF EXISTS `particiones`;
612CREATE TABLE IF NOT EXISTS `particiones` (
613  `idparticion` int(11) NOT NULL auto_increment,
614  `particion` varchar(250) NOT NULL default '',
615  PRIMARY KEY  (`idparticion`)
616) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
617
618--
619-- Volcar la base de datos para la tabla `particiones`
620--
621
622
623-- --------------------------------------------------------
624
625--
626-- Estructura de tabla para la tabla `perfileshard`
627--
628
629DROP TABLE IF EXISTS `perfileshard`;
630CREATE TABLE IF NOT EXISTS `perfileshard` (
631  `idperfilhard` int(11) NOT NULL auto_increment,
632  `descripcion` varchar(250) NOT NULL default '',
633  `idcentro` int(11) NOT NULL default '0',
634  `comentarios` text,
635  `grupoid` int(11) default NULL,
636  PRIMARY KEY  (`idperfilhard`)
637) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
638
639--
640-- Volcar la base de datos para la tabla `perfileshard`
641--
642
643
644-- --------------------------------------------------------
645
646--
647-- Estructura de tabla para la tabla `perfileshard_hardwares`
648--
649
650DROP TABLE IF EXISTS `perfileshard_hardwares`;
651CREATE TABLE IF NOT EXISTS `perfileshard_hardwares` (
652  `idperfilhard` int(11) NOT NULL default '0',
653  `idhardware` int(11) NOT NULL default '0'
654) ENGINE=MyISAM DEFAULT CHARSET=utf8;
655
656--
657-- Volcar la base de datos para la tabla `perfileshard_hardwares`
658--
659
660
661-- --------------------------------------------------------
662
663--
664-- Estructura de tabla para la tabla `perfileshard_perfilessoft`
665--
666
667DROP TABLE IF EXISTS `perfileshard_perfilessoft`;
668CREATE TABLE IF NOT EXISTS `perfileshard_perfilessoft` (
669  `idphardidpsoft` int(11) NOT NULL auto_increment,
670  `idperfilhard` int(11) NOT NULL default '0',
671  `idperfilsoft` int(11) NOT NULL default '0',
672  PRIMARY KEY  (`idphardidpsoft`)
673) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
674
675--
676-- Volcar la base de datos para la tabla `perfileshard_perfilessoft`
677--
678
679
680-- --------------------------------------------------------
681
682--
683-- Estructura de tabla para la tabla `perfilessoft`
684--
685
686DROP TABLE IF EXISTS `perfilessoft`;
687CREATE TABLE IF NOT EXISTS `perfilessoft` (
688  `idperfilsoft` int(11) NOT NULL auto_increment,
689  `descripcion` varchar(250) NOT NULL default '',
690  `idcentro` int(11) NOT NULL default '0',
691  `comentarios` text,
692  `grupoid` int(11) default NULL,
693  PRIMARY KEY  (`idperfilsoft`)
694) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
695
696--
697-- Volcar la base de datos para la tabla `perfilessoft`
698--
699
700
701-- --------------------------------------------------------
702
703--
704-- Estructura de tabla para la tabla `perfilessoft_softwares`
705--
706
707DROP TABLE IF EXISTS `perfilessoft_softwares`;
708CREATE TABLE IF NOT EXISTS `perfilessoft_softwares` (
709  `idperfilsoft` int(11) NOT NULL default '0',
710  `idsoftware` int(11) NOT NULL default '0'
711) ENGINE=MyISAM DEFAULT CHARSET=utf8;
712
713--
714-- Volcar la base de datos para la tabla `perfilessoft_softwares`
715--
716
717
718-- --------------------------------------------------------
719
720--
721-- Estructura de tabla para la tabla `phard_psoft_softincremental`
722--
723
724DROP TABLE IF EXISTS `phard_psoft_softincremental`;
725CREATE TABLE IF NOT EXISTS `phard_psoft_softincremental` (
726  `idphardidpsoft` int(11) NOT NULL default '0',
727  `idsoftincremental` int(11) NOT NULL default '0'
728) ENGINE=MyISAM DEFAULT CHARSET=utf8;
729
730--
731-- Volcar la base de datos para la tabla `phard_psoft_softincremental`
732--
733
734
735-- --------------------------------------------------------
736
737--
738-- Estructura de tabla para la tabla `procedimientos`
739--
740
741DROP TABLE IF EXISTS `procedimientos`;
742CREATE TABLE IF NOT EXISTS `procedimientos` (
743  `idprocedimiento` int(11) NOT NULL auto_increment,
744  `descripcion` varchar(250) NOT NULL default '',
745  `urlimg` varchar(250) default NULL,
746  `idcentro` int(11) NOT NULL default '0',
747  `comentarios` text,
748  `grupoid` int(11) default '0',
749  PRIMARY KEY  (`idprocedimiento`)
750) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
751
752--
753-- Volcar la base de datos para la tabla `procedimientos`
754--
755
756
757-- --------------------------------------------------------
758
759--
760-- Estructura de tabla para la tabla `procedimientos_comandos`
761--
762
763DROP TABLE IF EXISTS `procedimientos_comandos`;
764CREATE TABLE IF NOT EXISTS `procedimientos_comandos` (
765  `idprocedimientocomando` int(11) NOT NULL auto_increment,
766  `idprocedimiento` int(11) NOT NULL default '0',
767  `orden` tinyint(4) default NULL,
768  `idcomando` int(11) NOT NULL default '0',
769  `parametros` text,
770  PRIMARY KEY  (`idprocedimientocomando`)
771) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
772
773--
774-- Volcar la base de datos para la tabla `procedimientos_comandos`
775--
776
777
778-- --------------------------------------------------------
779
780--
781-- Estructura de tabla para la tabla `programaciones`
782--
783
784DROP TABLE IF EXISTS `programaciones`;
785CREATE TABLE IF NOT EXISTS `programaciones` (
786  `idprogramacion` int(11) NOT NULL AUTO_INCREMENT,
787  `tipoaccion` int(11) DEFAULT NULL,
788  `identificador` int(11) DEFAULT NULL,
789  `nombrebloque` varchar(255) DEFAULT NULL,
790  `annos` tinyint(4) DEFAULT NULL,
791  `meses` tinyint(4) DEFAULT NULL,
792  `diario` int(11) DEFAULT NULL,
793  `dias` tinyint(4) DEFAULT NULL,
794  `semanas` tinyint(4) DEFAULT NULL,
795  `horas` smallint(4) DEFAULT NULL,
796  `ampm` tinyint(1) DEFAULT NULL,
797  `minutos` tinyint(4) DEFAULT NULL,
798  `segundos` tinyint(4) DEFAULT NULL,
799  `horasini` smallint(4) DEFAULT NULL,
800  `ampmini` tinyint(1) DEFAULT NULL,
801  `minutosini` tinyint(4) DEFAULT NULL,
802  `horasfin` smallint(4) DEFAULT NULL,
803  `ampmfin` tinyint(1) DEFAULT NULL,
804  `minutosfin` tinyint(4) DEFAULT NULL,
805  `suspendida` tinyint(1) DEFAULT NULL,
806  PRIMARY KEY  (`idprogramacion`)
807) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
808
809--
810-- Volcar la base de datos para la tabla `programaciones`
811--
812
813
814-- --------------------------------------------------------
815
816--
817-- Estructura de tabla para la tabla `reservas`
818--
819
820DROP TABLE IF EXISTS `reservas`;
821CREATE TABLE IF NOT EXISTS `reservas` (
822  `idreserva` int(11) NOT NULL auto_increment,
823  `descripcion` varchar(250) NOT NULL default '',
824  `solicitante` varchar(250) default NULL,
825  `email` varchar(50) default NULL,
826  `idestatus` tinyint(4) NOT NULL default '0',
827  `comentarios` text NOT NULL,
828  `grupoid` int(11) NOT NULL default '0',
829  `idcentro` int(11) NOT NULL default '0',
830  `idaula` int(11) default NULL,
831  `idimagen` int(11) default NULL,
832  `idtarea` int(11) default NULL,
833  `idtrabajo` int(11) default NULL,
834  `estado` tinyint(4) default NULL,
835  PRIMARY KEY  (`idreserva`)
836) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
837
838--
839-- Volcar la base de datos para la tabla `reservas`
840--
841
842
843-- --------------------------------------------------------
844
845--
846-- Estructura de tabla para la tabla `reservastemporal`
847--
848
849DROP TABLE IF EXISTS `reservastemporal`;
850CREATE TABLE IF NOT EXISTS `reservastemporal` (
851  `idreservatemporal` int(11) NOT NULL auto_increment,
852  `usuario` char(10) NOT NULL default '',
853  `idreserva` int(11) NOT NULL default '0',
854  `fecha` date NOT NULL default '0000-00-00',
855  PRIMARY KEY  (`idreservatemporal`)
856) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
857
858--
859-- Volcar la base de datos para la tabla `reservastemporal`
860--
861
862
863-- --------------------------------------------------------
864
865--
866-- Estructura de tabla para la tabla `servidoresdhcp`
867--
868
869DROP TABLE IF EXISTS `servidoresdhcp`;
870CREATE TABLE IF NOT EXISTS `servidoresdhcp` (
871  `idservidordhcp` int(11) NOT NULL auto_increment,
872  `nombreservidordhcp` varchar(250) NOT NULL default '',
873  `ip` varchar(15) NOT NULL default '',
874  `passguor` varchar(50) default NULL,
875  `pathdhcpconf` varchar(250) NOT NULL default '',
876  `pathdhcpd` varchar(250) NOT NULL default '',
877  `idcentro` int(11) default NULL,
878  `grupoid` int(11) default NULL,
879  `comentarios` text,
880  PRIMARY KEY  (`idservidordhcp`)
881) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
882
883--
884-- Volcar la base de datos para la tabla `servidoresdhcp`
885--
886
887
888-- --------------------------------------------------------
889
890--
891-- Estructura de tabla para la tabla `servidoresrembo`
892--
893
894DROP TABLE IF EXISTS `servidoresrembo`;
895CREATE TABLE `servidoresrembo` (
896  `idservidorrembo` int(11) NOT NULL auto_increment,
897  `nombreservidorrembo` varchar(250) NOT NULL default '',
898  `ip` varchar(15) NOT NULL default '',
899  `passguor` varchar(50) NOT NULL default '',
900  `pathremboconf` varchar(250) NOT NULL default '',
901  `pathrembod` varchar(250) NOT NULL default '',
902  `pathpxe` varchar(250) NOT NULL,
903  `idcentro` int(11) default NULL,
904  `grupoid` int(11) default NULL,
905  `comentarios` text,
906  `puertorepo` int(11) NOT NULL,
907  PRIMARY KEY  (`idservidorrembo`)
908) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
909
910--
911-- Volcar la base de datos para la tabla `servidoresrembo`
912--
913
914INSERT INTO `servidoresrembo` (`idservidorrembo`,`nombreservidorrembo`,`ip`,`passguor`,`pathremboconf`,`pathrembod`,`pathpxe`,`idcentro`,`grupoid`,`comentarios`,`puertorepo`) VALUES
915 (1,'Servidor OpenGNSys (Default)','SERVERIP','','','/opt/opengnsys/admin','/opt/opengnsys/tftpboot/pxelinux.cfg',1,0,'',2002);
916
917-- --------------------------------------------------------
918
919--
920-- Estructura de tabla para la tabla `softincrementales`
921--
922
923DROP TABLE IF EXISTS `softincrementales`;
924CREATE TABLE IF NOT EXISTS `softincrementales` (
925  `idsoftincremental` int(11) NOT NULL auto_increment,
926  `descripcion` varchar(250) NOT NULL default '',
927  `idcentro` int(11) default NULL,
928  `comentarios` text,
929  `grupoid` int(11) default NULL,
930  PRIMARY KEY  (`idsoftincremental`)
931) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
932
933--
934-- Volcar la base de datos para la tabla `softincrementales`
935--
936
937
938-- --------------------------------------------------------
939
940--
941-- Estructura de tabla para la tabla `softincremental_softwares`
942--
943
944DROP TABLE IF EXISTS `softincremental_softwares`;
945CREATE TABLE IF NOT EXISTS `softincremental_softwares` (
946  `idsoftincremental` int(11) NOT NULL default '0',
947  `idsoftware` int(11) NOT NULL default '0'
948) ENGINE=MyISAM DEFAULT CHARSET=utf8;
949
950--
951-- Volcar la base de datos para la tabla `softincremental_softwares`
952--
953
954
955-- --------------------------------------------------------
956
957--
958-- Estructura de tabla para la tabla `softwares`
959--
960
961DROP TABLE IF EXISTS `softwares`;
962CREATE TABLE IF NOT EXISTS `softwares` (
963  `idsoftware` int(11) NOT NULL auto_increment,
964  `idtiposoftware` int(11) NOT NULL default '0',
965  `descripcion` varchar(250) NOT NULL default '',
966  `idcentro` int(11) NOT NULL default '0',
967  `urlimg` varchar(250) default NULL,
968  `idtiposo` int(11) default NULL,
969  `grupoid` int(11) default NULL,
970  PRIMARY KEY  (`idsoftware`)
971) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
972
973--
974-- Volcar la base de datos para la tabla `softwares`
975--
976
977
978-- --------------------------------------------------------
979
980--
981-- Estructura de tabla para la tabla `tareas`
982--
983
984DROP TABLE IF EXISTS `tareas`;
985CREATE TABLE IF NOT EXISTS `tareas` (
986  `idtarea` int(11) NOT NULL auto_increment,
987  `descripcion` varchar(250) NOT NULL default '',
988  `urlimg` varchar(250) default NULL,
989  `idcentro` int(11) NOT NULL default '0',
990  `comentarios` text,
991  `grupoid` int(11) default '0',
992  PRIMARY KEY  (`idtarea`)
993) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
994
995--
996-- Volcar la base de datos para la tabla `tareas`
997--
998
999
1000-- --------------------------------------------------------
1001
1002--
1003-- Estructura de tabla para la tabla `tareas_comandos`
1004--
1005
1006DROP TABLE IF EXISTS `tareas_comandos`;
1007CREATE TABLE IF NOT EXISTS `tareas_comandos` (
1008  `idtareacomando` int(11) NOT NULL auto_increment,
1009  `idtarea` int(11) NOT NULL default '0',
1010  `orden` tinyint(4) default NULL,
1011  `idcomando` int(11) NOT NULL default '0',
1012  `ambito` tinyint(4) default NULL,
1013  `idambito` int(11) default NULL,
1014  `parametros` text,
1015  PRIMARY KEY  (`idtareacomando`)
1016) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1017
1018--
1019-- Volcar la base de datos para la tabla `tareas_comandos`
1020--
1021
1022
1023-- --------------------------------------------------------
1024
1025--
1026-- Estructura de tabla para la tabla `tipohardwares`
1027--
1028
1029DROP TABLE IF EXISTS `tipohardwares`;
1030CREATE TABLE IF NOT EXISTS `tipohardwares` (
1031  `idtipohardware` int(11) NOT NULL auto_increment,
1032  `descripcion` varchar(250) NOT NULL default '',
1033  `urlimg` varchar(250) NOT NULL default '',
1034  `nemonico` char(3) NOT NULL,
1035  `pci` tinyint(1) NOT NULL,
1036  PRIMARY KEY  (`idtipohardware`)
1037) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;
1038
1039--
1040-- Volcar la base de datos para la tabla `tipohardwares`
1041--
1042
1043INSERT INTO `tipohardwares` (`idtipohardware`,`descripcion`,`urlimg`,`nemonico`,`pci`) VALUES
1044 (1,'Placas','../images/iconos/placabase.gif','boa',0),
1045 (2,'Dispositivos Multimedia','../images/iconos/tsonido.gif','mul',0),
1046 (3,'Tarjetas de Red','../images/iconos/nic.gif','net',0),
1047 (4,'Microprocesadores','../images/iconos/micro.gif','cpu',0),
1048 (5,'Memorias','../images/iconos/confihard.gif','mem',0),
1049 (7,'Tarjetas gráficas','../images/iconos/vga.gif','vga',0),
1050 (8,'Discos','../images/iconos/discoduro.gif','dis',0),
1051 (9,'Dispositivos de sonido','../images/iconos/audio.gif','aud',0),
1052 (10,'Marca y modelo del equipo','../images/iconos/confihard.gif','mod',0),
1053 (11,'Modelo y version de la bios','../images/iconos/confihard.gif','bio',0),
1054 (12,'Modelo de grabadora o  grabadora de CD/DVD','../images/iconos/dvdcd.gif','cdr',0),
1055 (13,'Controladores IDE','../images/iconos/ide.gif','ide',0),
1056 (14,'Controladores FireWire','../images/iconos/confihard.gif','fir',0),
1057 (15,'Controladores USB','../images/iconos/usb.gif','usb',0),
1058 (16,'Bus del Sistema','../images/iconos/confihard.gif','bus',0);
1059
1060-- --------------------------------------------------------
1061
1062--
1063-- Estructura de tabla para la tabla `tiposoftwares`
1064--
1065
1066DROP TABLE IF EXISTS `tiposoftwares`;
1067CREATE TABLE IF NOT EXISTS `tiposoftwares` (
1068  `idtiposoftware` int(11) NOT NULL auto_increment,
1069  `descripcion` varchar(250) NOT NULL default '',
1070  `urlimg` varchar(250) NOT NULL default '',
1071  PRIMARY KEY  (`idtiposoftware`)
1072) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
1073
1074--
1075-- Volcar la base de datos para la tabla `tiposoftwares`
1076--
1077
1078INSERT INTO `tiposoftwares` (`idtiposoftware`, `descripcion`, `urlimg`) VALUES
1079(1, 'Sistemas Operativos', '../images/iconos/so.gif'),
1080(2, 'Aplicaciones', '../images/iconos/aplicaciones.gif'),
1081(3, 'Archivos', '../images/iconos/archivos.gif');
1082
1083-- --------------------------------------------------------
1084
1085--
1086-- Estructura de tabla para la tabla `tiposos`
1087--
1088
1089DROP TABLE IF EXISTS `tiposos`;
1090CREATE TABLE IF NOT EXISTS `tiposos` (
1091  `idtiposo` int(11) NOT NULL auto_increment,
1092  `descripcion` varchar(50) NOT NULL default '',
1093  `nemonico` varchar(8) NOT NULL,
1094  `descripcionrmb` varchar(50) default NULL,
1095  `tipopar` varchar(50) default NULL,
1096  PRIMARY KEY  (`idtiposo`)
1097) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;
1098
1099--
1100-- Volcar la base de datos para la tabla `tiposos`
1101--
1102
1103INSERT INTO `tiposos` (`idtiposo`, `descripcion`, `nemonico`, `descripcionrmb`, `tipopar`)  VALUES
1104(1, 'MsDos, Windows FAT16', 'SO_FAT16', 'MSDOS', 'BIGDOS'),
1105(2, 'Windows FAT32', 'W_FAT32', 'Windows 98 SE', 'FAT32'),
1106(3, 'Windows NTFS', 'W_NTFS', 'Windows NTFS', 'NTFS'),
1107(4, 'Linux Ext2', 'L_Ext2', 'Linux', 'EXT2'),
1108(5, 'Linux Ext3', 'L_Ext3', 'Linux', 'EXT3'),
1109(6, 'Linux Ext4', 'L_Ext4', 'Linux', 'EXT4'),
1110(7, 'Partición VFAT', 'VFAT', 'Vfat', 'VFAT'),
1111(8, 'Partición COMPAQDIAG', 'CMPQDIAG', 'COMPAQDIAG', 'COMPAQDIAG'),
1112(9, 'Partición WIN-DYNAMIC', 'W_DYMIC', 'WIN-DYNAMIC', 'WIN-DYNAMIC'),
1113(10, 'Partición LINUX-LVM', 'L-LVM', 'LINUX-LVM', 'LINUX-LVM'),
1114(11, 'Partición SOLARIS', 'SOLARIS', 'SOLARIS', 'SOLARIS'),
1115(12, 'Partición LINUX-RAID', 'L-RAID', 'LINUX-RAID', 'LINUX-RAID'),
1116(13, 'Partición Extendioda', 'EXT', 'Extended', 'EXTENDED'),
1117(14, 'Partición Caché', 'CACHE', 'Caché', 'CACHE'),
1118(15, 'Partición desconocida', 'UNKNOWN', 'Descononocida', 'UNKNOWN'),
1119(16, 'Espacio Libre', 'EMPTY', 'EMPTY', 'EMPTY');
1120
1121-- --------------------------------------------------------
1122
1123--
1124-- Estructura de tabla para la tabla `trabajos`
1125--
1126
1127DROP TABLE IF EXISTS `trabajos`;
1128CREATE TABLE IF NOT EXISTS `trabajos` (
1129  `idtrabajo` int(11) NOT NULL auto_increment,
1130  `descripcion` varchar(250) default NULL,
1131  `idcentro` int(11) NOT NULL default '0',
1132  `urlimg` varchar(250) default NULL,
1133  `comentarios` text,
1134  `grupoid` int(11) default NULL,
1135  PRIMARY KEY  (`idtrabajo`)
1136) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1137
1138--
1139-- Volcar la base de datos para la tabla `trabajos`
1140--
1141
1142
1143-- --------------------------------------------------------
1144
1145--
1146-- Estructura de tabla para la tabla `trabajos_tareas`
1147--
1148
1149DROP TABLE IF EXISTS `trabajos_tareas`;
1150CREATE TABLE IF NOT EXISTS `trabajos_tareas` (
1151  `idtrabajotarea` int(11) NOT NULL auto_increment,
1152  `idtrabajo` int(11) NOT NULL default '0',
1153  `orden` tinyint(4) default NULL,
1154  `idtarea` int(11) default NULL,
1155  `ambitskwrk` text,
1156  `parametros` text,
1157  PRIMARY KEY  (`idtrabajotarea`)
1158) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1159
1160--
1161-- Volcar la base de datos para la tabla `trabajos_tareas`
1162--
1163
1164
1165-- --------------------------------------------------------
1166
1167--
1168-- Estructura de tabla para la tabla `universidades`
1169--
1170
1171DROP TABLE IF EXISTS `universidades`;
1172CREATE TABLE IF NOT EXISTS `universidades` (
1173  `iduniversidad` int(11) NOT NULL auto_increment,
1174  `nombreuniversidad` varchar(200) NOT NULL default '',
1175  `comentarios` text,
1176  PRIMARY KEY  (`iduniversidad`)
1177) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
1178
1179--
1180-- Volcar la base de datos para la tabla `universidades`
1181--
1182
1183INSERT INTO `universidades` (`iduniversidad`, `nombreuniversidad`, `comentarios`) VALUES
1184(1, 'Universidad (Default)','Esta Universidad se crea automáticamentese crea automáticamente en el proceso de instalación de OpenGNSys');
1185
1186-- --------------------------------------------------------
1187
1188--
1189-- Estructura de tabla para la tabla `urlimagesitems`
1190--
1191
1192DROP TABLE IF EXISTS `urlimagesitems`;
1193CREATE TABLE IF NOT EXISTS `urlimagesitems` (
1194  `idurlimagesitems` int(11) NOT NULL auto_increment,
1195  `descripcion` varchar(250) NOT NULL default '',
1196  PRIMARY KEY  (`idurlimagesitems`)
1197) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1198
1199--
1200-- Volcar la base de datos para la tabla `urlimagesitems`
1201--
1202
1203
1204-- --------------------------------------------------------
1205
1206--
1207-- Estructura de tabla para la tabla `usuarios`
1208--
1209
1210DROP TABLE IF EXISTS `usuarios`;
1211CREATE TABLE IF NOT EXISTS `usuarios` (
1212  `idusuario` int(11) NOT NULL auto_increment,
1213  `usuario` varchar(50) NOT NULL default '',
1214  `pasguor` varchar(50) NOT NULL default '',
1215  `nombre` varchar(200) default NULL,
1216  `email` varchar(200) default NULL,
1217  `ididioma` int(11) default NULL,
1218  `idtipousuario` tinyint(4) default NULL,
1219  PRIMARY KEY  (`idusuario`)
1220) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
1221
1222--
1223-- Volcar la base de datos para la tabla `usuarios`
1224--
1225
1226INSERT INTO `usuarios` (`idusuario`, `usuario`, `pasguor`, `nombre`, `email`, `ididioma`, `idtipousuario`) VALUES
1227(1, 'usuog', 'passusuog', 'Usuario de la base de datos MySql', '', 1, 1),
1228(2,'DEFAULTUSER','DEFAULTPASSWD','Usuario por defecto','',1,2);
1229
1230-- --------------------------------------------------------
1231
1232--
1233-- Estructura de tabla para la tabla `entornos`
1234--
1235
1236DROP TABLE IF EXISTS `entornos`;
1237CREATE TABLE IF NOT EXISTS `entornos` (
1238  `identorno` int(11) NOT NULL auto_increment,
1239  `ipserveradm` varchar(50) NOT NULL,
1240  `portserveradm` int(20) NOT NULL,
1241  `protoclonacion` varchar(50) NOT NULL,
1242  `repositorio` tinyint(4) NOT NULL,
1243  PRIMARY KEY  (`identorno`)
1244) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
1245
1246--
1247-- Volcar la base de datos para la tabla `entornos`
1248--
1249
1250INSERT INTO `entornos` (`identorno`, `ipserveradm`, `portserveradm`, `protoclonacion`, `repositorio`) VALUES
1251(1, 'SERVERIP', 2008, 'TORRENT', 1);
1252
1253-- --------------------------------------------------------
1254
1255--
1256-- Estructura de tabla para la tabla `administradores_centros`
1257--
1258
1259DROP TABLE IF EXISTS `administradores_centros`;
1260CREATE TABLE IF NOT EXISTS `administradores_centros` (
1261  `idadministradorcentro` int(11) NOT NULL AUTO_INCREMENT,
1262  `idusuario` int(11) NOT NULL DEFAULT '0',
1263  `idcentro` int(11) NOT NULL DEFAULT '0',
1264  PRIMARY KEY (`idadministradorcentro`)
1265) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1266
1267--
1268-- Volcar la base de datos para la tabla `administradores_centros`
1269--
1270INSERT INTO `administradores_centros` (`idadministradorcentro`,`idusuario`, `idcentro`) VALUES (1,2,1);
1271
1272
1273
Note: See TracBrowser for help on using the repository browser.