source: admin/Database/ogBDAdmin.sql @ f258c77

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 f258c77 was 21a1238, checked in by alonso <alonso@…>, 16 years ago

primeros archivos de administración

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

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