source: admin/Database/ogBDAdmin.sql @ 9a2cda1e

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 9a2cda1e was df5bd24, checked in by alonso <alonso@…>, 16 years ago

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

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