[3ec149c] | 1 | -- phpMyAdmin SQL Dump |
---|
| 2 | -- version 3.2.2.1deb1 |
---|
| 3 | -- http://www.phpmyadmin.net |
---|
| 4 | -- |
---|
| 5 | -- Servidor: localhost |
---|
| 6 | -- Tiempo de generación: 20-09-2010 a las 22:43:50 |
---|
| 7 | -- Versión del servidor: 5.1.37 |
---|
| 8 | -- Versión de PHP: 5.2.10-2ubuntu6.4 |
---|
| 9 | |
---|
| 10 | SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
---|
| 11 | |
---|
| 12 | -- |
---|
| 13 | -- Base de datos: `ogAdmBD` |
---|
| 14 | -- |
---|
| 15 | |
---|
| 16 | -- -------------------------------------------------------- |
---|
| 17 | |
---|
| 18 | -- |
---|
| 19 | -- Estructura de tabla para la tabla `acciones` |
---|
| 20 | -- |
---|
| 21 | |
---|
| 22 | CREATE TABLE IF NOT EXISTS `acciones` ( |
---|
| 23 | `idaccion` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 24 | `tipoaccion` smallint(6) NOT NULL, |
---|
| 25 | `idtipoaccion` int(11) NOT NULL, |
---|
| 26 | `descriaccion` varchar(250) NOT NULL, |
---|
| 27 | `idordenador` int(11) NOT NULL, |
---|
| 28 | `ip` varchar(50) NOT NULL, |
---|
| 29 | `sesion` int(11) NOT NULL, |
---|
| 30 | `idcomando` int(11) NOT NULL, |
---|
| 31 | `parametros` text, |
---|
| 32 | `fechahorareg` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', |
---|
| 33 | `fechahorafin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', |
---|
| 34 | `estado` tinyint(1) NOT NULL DEFAULT '0', |
---|
| 35 | `resultado` tinyint(1) NOT NULL DEFAULT '0', |
---|
| 36 | `descrinotificacion` varchar(256) DEFAULT NULL, |
---|
| 37 | `ambito` smallint(6) NOT NULL DEFAULT '0', |
---|
| 38 | `idambito` int(11) NOT NULL DEFAULT '0', |
---|
| 39 | `restrambito` text NOT NULL, |
---|
| 40 | `idprocedimiento` int(11) NOT NULL DEFAULT '0', |
---|
| 41 | `idtarea` int(11) NOT NULL DEFAULT '0', |
---|
| 42 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 43 | `idprogramacion` int(11) NOT NULL DEFAULT '0', |
---|
[1bc7f09] | 44 | PRIMARY KEY (`idaccion`), |
---|
| 45 | KEY (`idordenador`), |
---|
| 46 | KEY (`idprocedimiento`), |
---|
| 47 | KEY (`idtarea`), |
---|
| 48 | KEY (`idprogramacion`) |
---|
[3ec149c] | 49 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 50 | |
---|
| 51 | -- -------------------------------------------------------- |
---|
| 52 | |
---|
| 53 | -- |
---|
| 54 | -- Estructura de tabla para la tabla `acciones_menus` |
---|
| 55 | -- |
---|
| 56 | |
---|
| 57 | CREATE TABLE IF NOT EXISTS `acciones_menus` ( |
---|
| 58 | `idaccionmenu` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 59 | `tipoaccion` tinyint(4) NOT NULL DEFAULT '0', |
---|
| 60 | `idtipoaccion` int(11) NOT NULL DEFAULT '0', |
---|
| 61 | `idmenu` int(11) NOT NULL DEFAULT '0', |
---|
| 62 | `tipoitem` tinyint(4) DEFAULT NULL, |
---|
| 63 | `idurlimg` int(11) DEFAULT NULL, |
---|
| 64 | `descripitem` varchar(250) DEFAULT NULL, |
---|
| 65 | `orden` tinyint(4) DEFAULT NULL, |
---|
| 66 | PRIMARY KEY (`idaccionmenu`) |
---|
| 67 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 68 | |
---|
| 69 | -- -------------------------------------------------------- |
---|
| 70 | |
---|
| 71 | -- |
---|
| 72 | -- Estructura de tabla para la tabla `administradores_centros` |
---|
| 73 | -- |
---|
| 74 | |
---|
| 75 | CREATE TABLE IF NOT EXISTS `administradores_centros` ( |
---|
| 76 | `idadministradorcentro` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 77 | `idusuario` int(11) NOT NULL DEFAULT '0', |
---|
| 78 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 79 | PRIMARY KEY (`idadministradorcentro`) |
---|
| 80 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 81 | |
---|
[7a9f3be] | 82 | INSERT INTO `administradores_centros` (`idadministradorcentro`, `idusuario`, `idcentro`) VALUES |
---|
| 83 | (1, 1, 1); |
---|
| 84 | |
---|
[3ec149c] | 85 | -- -------------------------------------------------------- |
---|
| 86 | |
---|
| 87 | -- |
---|
| 88 | -- Estructura de tabla para la tabla `aulas` |
---|
| 89 | -- |
---|
| 90 | |
---|
| 91 | CREATE TABLE IF NOT EXISTS `aulas` ( |
---|
| 92 | `idaula` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 93 | `nombreaula` varchar(100) NOT NULL DEFAULT '', |
---|
| 94 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 95 | `urlfoto` varchar(250) DEFAULT NULL, |
---|
| 96 | `cuadro_y` char(3) DEFAULT NULL, |
---|
| 97 | `cuadro_x` char(3) DEFAULT NULL, |
---|
| 98 | `cagnon` tinyint(1) DEFAULT NULL, |
---|
| 99 | `pizarra` tinyint(1) DEFAULT NULL, |
---|
| 100 | `grupoid` int(11) DEFAULT NULL, |
---|
| 101 | `ubicacion` varchar(255) DEFAULT NULL, |
---|
| 102 | `comentarios` text, |
---|
| 103 | `puestos` tinyint(4) DEFAULT NULL, |
---|
| 104 | `horaresevini` tinyint(4) DEFAULT NULL, |
---|
| 105 | `horaresevfin` tinyint(4) DEFAULT NULL, |
---|
| 106 | `modomul` tinyint(4) NOT NULL, |
---|
| 107 | `ipmul` varchar(16) NOT NULL, |
---|
| 108 | `pormul` int(11) NOT NULL, |
---|
[b1fd551] | 109 | `velmul` smallint(6) NOT NULL DEFAULT '70', |
---|
[5242394] | 110 | `router` varchar( 30 ), |
---|
| 111 | `netmask` varchar( 30 ), |
---|
| 112 | `dns` varchar (30), |
---|
[8fa6b37] | 113 | `proxy` varchar (30), |
---|
[b1fd551] | 114 | `modp2p` enum('seeder','peer','leecher') DEFAULT 'peer', |
---|
[5242394] | 115 | `timep2p` int(11) NOT NULL DEFAULT '60', |
---|
| 116 | `validacion` tinyint(1) DEFAULT '0', |
---|
| 117 | `paginalogin` varchar(100), |
---|
| 118 | `paginavalidacion` varchar(100), |
---|
[3ec149c] | 119 | PRIMARY KEY (`idaula`) |
---|
| 120 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 121 | |
---|
[cbe1fdf] | 122 | |
---|
[b9a6500] | 123 | -- |
---|
| 124 | -- Estructura de tabla para la tabla `asistentes` |
---|
| 125 | -- |
---|
| 126 | |
---|
| 127 | CREATE TABLE IF NOT EXISTS `asistentes` ( |
---|
| 128 | `idcomando` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 129 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 130 | `pagina` varchar(256) NOT NULL, |
---|
| 131 | `gestor` varchar(256) NOT NULL, |
---|
| 132 | `funcion` varchar(64) NOT NULL, |
---|
| 133 | `urlimg` varchar(250) DEFAULT NULL, |
---|
| 134 | `aplicambito` tinyint(4) DEFAULT NULL, |
---|
| 135 | `visuparametros` varchar(250) DEFAULT NULL, |
---|
| 136 | `parametros` varchar(250) DEFAULT NULL, |
---|
| 137 | `comentarios` text, |
---|
| 138 | `activo` tinyint(1) NOT NULL, |
---|
[f9bd401] | 139 | PRIMARY KEY ( `idcomando` , `descripcion` ) |
---|
[b9a6500] | 140 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ; |
---|
| 141 | |
---|
| 142 | |
---|
| 143 | INSERT INTO `asistentes` (`idcomando`, `descripcion`, `pagina`, `gestor`, `funcion`, `urlimg`, `aplicambito`, `visuparametros`, `parametros`, `comentarios`, `activo`) VALUES |
---|
[f9bd401] | 144 | ('8', 'Asistente Clonacion Particiones Remotas', '../asistentes/AsistenteCloneRemotePartition.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1'), |
---|
[294f9e5] | 145 | ('8', 'Asistente Deploy de Imagenes', '../asistentes/AsistenteDeployImage.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1'), |
---|
| 146 | ('8', 'Asistente UpdateCache con Imagenes', '../asistentes/AsistenteUpdateCache.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '0'), |
---|
[f9bd401] | 147 | ('8', 'Asistente Restauracion de Imagenes', '../asistentes/AsistenteRestoreImage.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '0'), |
---|
| 148 | ('8', 'Asistente Particionado', '../asistentes/AsistenteParticionado.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1'); |
---|
[b9a6500] | 149 | |
---|
| 150 | |
---|
| 151 | |
---|
[3ec149c] | 152 | -- -------------------------------------------------------- |
---|
| 153 | |
---|
| 154 | -- |
---|
| 155 | -- Estructura de tabla para la tabla `campus` |
---|
| 156 | -- |
---|
| 157 | |
---|
| 158 | CREATE TABLE IF NOT EXISTS `campus` ( |
---|
| 159 | `idcampus` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 160 | `nombrecampus` varchar(100) NOT NULL DEFAULT '', |
---|
| 161 | `iduniversidad` int(11) DEFAULT NULL, |
---|
| 162 | `urlmapa` varchar(255) DEFAULT NULL, |
---|
| 163 | `cuadro_y` tinyint(3) DEFAULT NULL, |
---|
| 164 | `cuadro_x` tinyint(3) DEFAULT NULL, |
---|
| 165 | PRIMARY KEY (`idcampus`) |
---|
| 166 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 167 | |
---|
| 168 | -- |
---|
| 169 | -- Volcar la base de datos para la tabla `campus` |
---|
| 170 | -- |
---|
| 171 | |
---|
| 172 | |
---|
| 173 | -- -------------------------------------------------------- |
---|
| 174 | |
---|
| 175 | -- |
---|
| 176 | -- Estructura de tabla para la tabla `centros` |
---|
| 177 | -- |
---|
| 178 | |
---|
| 179 | CREATE TABLE IF NOT EXISTS `centros` ( |
---|
| 180 | `idcentro` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 181 | `nombrecentro` varchar(100) NOT NULL DEFAULT '', |
---|
| 182 | `identidad` int(11) DEFAULT NULL, |
---|
| 183 | `comentarios` text, |
---|
| 184 | PRIMARY KEY (`idcentro`) |
---|
| 185 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 186 | |
---|
| 187 | |
---|
[4329e85] | 188 | -- |
---|
| 189 | -- Volcar la base de datos para la tabla `centros` |
---|
| 190 | -- |
---|
| 191 | INSERT INTO `centros` (`idcentro`,`nombrecentro`,`identidad`,`comentarios`) VALUES |
---|
| 192 | (1,'Unidad Organizativa (Default)',1,'Esta Unidad Organizativa se crea automáticamente en el proceso de instalación de OpenGnSys'); |
---|
| 193 | |
---|
| 194 | |
---|
[3ec149c] | 195 | -- -------------------------------------------------------- |
---|
| 196 | |
---|
| 197 | -- |
---|
| 198 | -- Estructura de tabla para la tabla `comandos` |
---|
| 199 | -- |
---|
| 200 | |
---|
| 201 | CREATE TABLE IF NOT EXISTS `comandos` ( |
---|
| 202 | `idcomando` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 203 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 204 | `pagina` varchar(256) NOT NULL, |
---|
| 205 | `gestor` varchar(256) NOT NULL, |
---|
| 206 | `funcion` varchar(64) NOT NULL, |
---|
| 207 | `urlimg` varchar(250) DEFAULT NULL, |
---|
| 208 | `aplicambito` tinyint(4) DEFAULT NULL, |
---|
| 209 | `visuparametros` varchar(250) DEFAULT NULL, |
---|
| 210 | `parametros` varchar(250) DEFAULT NULL, |
---|
| 211 | `comentarios` text, |
---|
| 212 | `activo` tinyint(1) NOT NULL, |
---|
[d866d6b] | 213 | `submenu` varchar(50) NOT NULL DEFAULT '', |
---|
[3ec149c] | 214 | PRIMARY KEY (`idcomando`) |
---|
[4329e85] | 215 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; |
---|
[3ec149c] | 216 | |
---|
| 217 | -- |
---|
| 218 | -- Volcar la base de datos para la tabla `comandos` |
---|
| 219 | -- |
---|
| 220 | |
---|
[d866d6b] | 221 | INSERT INTO `comandos` (`idcomando`, `descripcion`, `pagina`, `gestor`, `funcion`, `urlimg`, `aplicambito`, `visuparametros`, `parametros`, `comentarios`, `activo`, `submenu`) VALUES |
---|
| 222 | (1, 'Arrancar', '../comandos/Arrancar.php', '../comandos/gestores/gestor_Comandos.php', 'Arrancar', '', 31, '', 'nfn;iph;mac', '', 1, ''), |
---|
| 223 | (2, 'Apagar', '../comandos/Apagar.php', '../comandos/gestores/gestor_Comandos.php', 'Apagar', '', 31, '', 'nfn;iph;mac', '', 1, ''), |
---|
| 224 | (3, 'Restaurar Imagen', '../comandos/RestaurarImagen.php', '../comandos/gestores/gestor_Comandos.php', 'RestaurarImagen', '', 28, 'dsk;par;idi;nci;ipr;ptc', 'nfn;iph;mac;dsk;par;idi;nci;ipr;ifs;ptc', '', 1, ''), |
---|
| 225 | (4, 'Crear Imagen', '../comandos/CrearImagen.php', '../comandos/gestores/gestor_Comandos.php', 'CrearImagen', '', 16, 'dsk;par;idi;nci;ipr;cpt', 'nfn;iph;mac;dsk;par;idi;nci;ipr;cpt;', '', 1, ''), |
---|
| 226 | (5, 'Reiniciar', '../comandos/Reiniciar.php', '../comandos/gestores/gestor_Comandos.php', 'Reiniciar', '', 31, '', 'nfn;iph;mac;', '', 1, ''), |
---|
| 227 | (6, 'Inventario Hardware', '../comandos/InventarioHardware.php', '../comandos/gestores/gestor_Comandos.php', 'InventarioHardware', '', 16, '', 'nfn;iph;mac;', '', 1, ''), |
---|
| 228 | (7, 'Inventario Software', '../comandos/InventarioSoftware.php', '../comandos/gestores/gestor_Comandos.php', 'InventarioSoftware', '', 16, 'par', 'nfn;iph;mac;par', '', 1, ''), |
---|
| 229 | (8, 'Ejecutar Script', '../comandos/EjecutarScripts.php', '../comandos/gestores/gestor_Comandos.php', 'EjecutarScript', '', 31, 'iph;tis;dcr;scp', 'nfn;iph;tis;dcr;scp', '', 1, ''), |
---|
| 230 | (9, 'Iniciar Sesion', '../comandos/IniciarSesion.php', '../comandos/gestores/gestor_Comandos.php', 'IniciarSesion', '', 31, 'par', 'nfn;iph;par', '', 1, ''), |
---|
[bbd5b61] | 231 | (10, 'Particionar y Formatear', '../comandos/Configurar.php', '../comandos/gestores/gestor_Comandos.php', 'Configurar', '', 28, 'dsk;cfg;', 'nfn;iph;mac;dsk;cfg;par;cpt;sfi;tam;ope', '', 1, ''), |
---|
[d866d6b] | 232 | (11, 'Eliminar Imagen Cache', '../comandos/EliminarImagenCache.php', '../comandos/gestores/gestor_Comandos.php', 'EliminarImagenCache', '', 31, 'iph;tis;dcr;scp', 'nfn;iph;tis;dcr;scp', '', 1, ''), |
---|
[418464b] | 233 | (12, 'Crear Imagen Basica', '../comandos/CrearImagenBasica.php', '../comandos/gestores/gestor_Comandos.php', 'CrearImagenBasica', '', 16, 'dsk;par;cpt;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba', 'nfn;dsk;par;cpt;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba', '', 1, 'Sincronizacion'), |
---|
| 234 | (13, 'Restaurar Imagen Basica', '../comandos/RestaurarImagenBasica.php', '../comandos/gestores/gestor_Comandos.php', 'RestaurarImagenBasica', '', 28, 'dsk;par;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba;met', 'nfn;dsk;par;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba;met', '', 1, 'Sincronizacion'), |
---|
| 235 | (14, 'Crear Software Incremental', '../comandos/CrearSoftIncremental.php', '../comandos/gestores/gestor_Comandos.php', 'CrearSoftIncremental', '', 16, 'dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;nba', 'nfn;dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;nba', '', 1, 'Sincronizacion'), |
---|
| 236 | (15, 'Restaurar Software Incremental', '../comandos/RestaurarSoftIncremental.php', '../comandos/gestores/gestor_Comandos.php', 'RestaurarSoftIncremental', '', 28, 'dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;met;nba', 'nfn;dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;met;nba', '', 1, 'Sincronizacion'), |
---|
| 237 | (16, 'Crear Imagen Básica', '../comandos/CrearImagenBasica.php', '../comandos/gestores/gestor_Comandos.php', 'CreateBaseImage', '', 16, 'dsk;par;cpt;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba', 'nfn;dsk;par;cpt;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba', '', 1, 'diferenciacion'), |
---|
| 238 | (17, 'Restaurar Imagen Básica', '../comandos/RestaurarImagenBasica.php', '../comandos/gestores/gestor_Comandos.php', 'RestoreBaseImage', '', 28, 'dsk;par;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba;met', 'nfn;dsk;par;idi;nci;ipr;iph;bpi;cpc;bpc;rti;nba;met', '', 1, 'diferenciacion'), |
---|
| 239 | (18, 'Crear Imagen Diferencial', '../comandos/CrearSoftIncremental.php', '../comandos/gestores/gestor_Comandos.php', 'CreateDiffImage', '', 16, 'dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;nba', 'nfn;dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;nba', '', 1, 'diferenciacion'), |
---|
| 240 | (19, 'Restaurar Imagen Diferencial', '../comandos/RestaurarSoftIncremental.php', '../comandos/gestores/gestor_Comandos.php', 'RestoreDiffImage', '', 28, 'dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;met;nba', 'nfn;dsk;par;idi;nci;ipr;idf;ncf;bpi;cpc;bpc;iph;rti;met;nba', '', 1, 'diferenciacion'); |
---|
[cbe1fdf] | 241 | |
---|
| 242 | |
---|
[3ec149c] | 243 | |
---|
| 244 | -- -------------------------------------------------------- |
---|
| 245 | |
---|
| 246 | -- |
---|
| 247 | -- Estructura de tabla para la tabla `entidades` |
---|
| 248 | -- |
---|
| 249 | |
---|
| 250 | CREATE TABLE IF NOT EXISTS `entidades` ( |
---|
| 251 | `identidad` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 252 | `nombreentidad` varchar(200) NOT NULL DEFAULT '', |
---|
| 253 | `comentarios` text, |
---|
| 254 | `iduniversidad` int(11) DEFAULT NULL, |
---|
| 255 | `grupoid` int(11) DEFAULT NULL, |
---|
| 256 | PRIMARY KEY (`identidad`) |
---|
| 257 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; |
---|
| 258 | |
---|
| 259 | -- |
---|
| 260 | -- Volcar la base de datos para la tabla `entidades` |
---|
| 261 | -- |
---|
| 262 | |
---|
| 263 | INSERT INTO `entidades` (`identidad`, `nombreentidad`, `comentarios`, `iduniversidad`, `grupoid`) VALUES |
---|
[9a09967] | 264 | (1, 'Entidad (Default)', 'Esta Entidad se crea automáticamente en el proceso de instalación de OpenGnSys', 1, 0); |
---|
[3ec149c] | 265 | |
---|
| 266 | -- -------------------------------------------------------- |
---|
| 267 | |
---|
| 268 | -- |
---|
| 269 | -- Estructura de tabla para la tabla `entornos` |
---|
| 270 | -- |
---|
| 271 | |
---|
| 272 | CREATE TABLE IF NOT EXISTS `entornos` ( |
---|
| 273 | `identorno` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 274 | `ipserveradm` varchar(50) NOT NULL, |
---|
| 275 | `portserveradm` int(20) NOT NULL, |
---|
| 276 | `protoclonacion` varchar(50) NOT NULL, |
---|
| 277 | PRIMARY KEY (`identorno`) |
---|
| 278 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; |
---|
| 279 | |
---|
| 280 | -- |
---|
| 281 | -- Volcar la base de datos para la tabla `entornos` |
---|
| 282 | -- |
---|
| 283 | |
---|
| 284 | INSERT INTO `entornos` (`identorno`, `ipserveradm`, `portserveradm`, `protoclonacion`) VALUES |
---|
[58d5ad2] | 285 | (1, 'SERVERIP', 2008, 'UNICAST'); |
---|
[3ec149c] | 286 | |
---|
| 287 | -- -------------------------------------------------------- |
---|
| 288 | |
---|
| 289 | -- |
---|
| 290 | -- Estructura de tabla para la tabla `estatus` |
---|
| 291 | -- |
---|
| 292 | |
---|
| 293 | CREATE TABLE IF NOT EXISTS `estatus` ( |
---|
| 294 | `idestatus` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 295 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 296 | PRIMARY KEY (`idestatus`) |
---|
| 297 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; |
---|
| 298 | |
---|
| 299 | -- |
---|
| 300 | -- Volcar la base de datos para la tabla `estatus` |
---|
| 301 | -- |
---|
| 302 | |
---|
| 303 | INSERT INTO `estatus` (`idestatus`, `descripcion`) VALUES |
---|
| 304 | (1, 'P.D.I. ( Profesor)'), |
---|
| 305 | (2, 'P.A.S.'), |
---|
| 306 | (3, 'Doctor'), |
---|
| 307 | (4, 'Alumno'), |
---|
| 308 | (5, 'Otros'); |
---|
| 309 | |
---|
| 310 | -- -------------------------------------------------------- |
---|
| 311 | |
---|
| 312 | -- |
---|
| 313 | -- Estructura de tabla para la tabla `grupos` |
---|
| 314 | -- |
---|
| 315 | |
---|
| 316 | CREATE TABLE IF NOT EXISTS `grupos` ( |
---|
| 317 | `idgrupo` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 318 | `nombregrupo` varchar(250) NOT NULL DEFAULT '', |
---|
| 319 | `grupoid` int(11) NOT NULL DEFAULT '0', |
---|
| 320 | `tipo` tinyint(4) NOT NULL DEFAULT '0', |
---|
| 321 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 322 | `iduniversidad` int(11) DEFAULT NULL, |
---|
| 323 | `comentarios` text, |
---|
| 324 | PRIMARY KEY (`idgrupo`) |
---|
| 325 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 326 | |
---|
| 327 | -- -------------------------------------------------------- |
---|
| 328 | |
---|
| 329 | -- |
---|
| 330 | -- Estructura de tabla para la tabla `gruposordenadores` |
---|
| 331 | -- |
---|
| 332 | |
---|
| 333 | CREATE TABLE IF NOT EXISTS `gruposordenadores` ( |
---|
| 334 | `idgrupo` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 335 | `nombregrupoordenador` varchar(250) NOT NULL DEFAULT '', |
---|
| 336 | `idaula` int(11) NOT NULL DEFAULT '0', |
---|
| 337 | `grupoid` int(11) DEFAULT NULL, |
---|
| 338 | `comentarios` text, |
---|
| 339 | PRIMARY KEY (`idgrupo`) |
---|
| 340 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 341 | |
---|
| 342 | -- -------------------------------------------------------- |
---|
| 343 | |
---|
| 344 | -- |
---|
| 345 | -- Estructura de tabla para la tabla `hardwares` |
---|
| 346 | -- |
---|
| 347 | |
---|
| 348 | CREATE TABLE IF NOT EXISTS `hardwares` ( |
---|
| 349 | `idhardware` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 350 | `idtipohardware` int(11) NOT NULL DEFAULT '0', |
---|
| 351 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 352 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 353 | `grupoid` int(11) DEFAULT NULL, |
---|
| 354 | PRIMARY KEY (`idhardware`) |
---|
| 355 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 356 | |
---|
| 357 | |
---|
| 358 | -- -------------------------------------------------------- |
---|
| 359 | |
---|
| 360 | -- |
---|
| 361 | -- Estructura de tabla para la tabla `iconos` |
---|
| 362 | -- |
---|
| 363 | |
---|
| 364 | CREATE TABLE IF NOT EXISTS `iconos` ( |
---|
| 365 | `idicono` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 366 | `urlicono` varchar(200) DEFAULT NULL, |
---|
| 367 | `idtipoicono` int(11) DEFAULT NULL, |
---|
| 368 | `descripcion` varchar(250) DEFAULT NULL, |
---|
| 369 | PRIMARY KEY (`idicono`) |
---|
| 370 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ; |
---|
| 371 | |
---|
| 372 | -- |
---|
| 373 | -- Volcar la base de datos para la tabla `iconos` |
---|
| 374 | -- |
---|
| 375 | |
---|
| 376 | INSERT INTO `iconos` (`idicono`, `urlicono`, `idtipoicono`, `descripcion`) VALUES |
---|
| 377 | (1, 'vga.gif', 1, 'Tarjeta gráfica'), |
---|
| 378 | (2, 'nic.gif', 1, 'Tarjeta de Red'), |
---|
| 379 | (3, 'placabase.gif', 1, 'Placas base'), |
---|
| 380 | (4, 'tsonido.gif', 1, 'Tarjeta de sonido'), |
---|
| 381 | (5, 'camweb.gif', 1, 'Cámara web'), |
---|
| 382 | (6, 'logoXP.png', 2, 'Logo Windows XP'), |
---|
| 383 | (7, 'logolinux.png', 2, 'Logo General de Linux'), |
---|
| 384 | (8, 'particionar.png', 2, 'Particionar'), |
---|
| 385 | (9, 'ordenadoroff.png', 2, 'Ordenador apagado'), |
---|
| 386 | (10, 'ordenadoron.png', 2, 'Ordenador encendido'), |
---|
| 387 | (11, 'usb.gif', 1, 'Mi icono usb'), |
---|
| 388 | (12, 'ide.gif', 1, 'Controladores IDE'), |
---|
| 389 | (13, 'dvdcd.gif', 1, 'Lectoras y grabadoras de DVD'), |
---|
| 390 | (14, 'audio.gif', 1, 'Dispositivos de audio'); |
---|
| 391 | |
---|
| 392 | -- -------------------------------------------------------- |
---|
| 393 | |
---|
| 394 | -- |
---|
| 395 | -- Estructura de tabla para la tabla `idiomas` |
---|
| 396 | -- |
---|
| 397 | |
---|
| 398 | CREATE TABLE IF NOT EXISTS `idiomas` ( |
---|
| 399 | `ididioma` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 400 | `descripcion` varchar(100) DEFAULT NULL, |
---|
| 401 | `nemonico` char(3) DEFAULT NULL, |
---|
| 402 | PRIMARY KEY (`ididioma`) |
---|
| 403 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
---|
| 404 | |
---|
| 405 | -- |
---|
| 406 | -- Volcar la base de datos para la tabla `idiomas` |
---|
| 407 | -- |
---|
| 408 | |
---|
| 409 | INSERT INTO `idiomas` (`ididioma`, `descripcion`, `nemonico`) VALUES |
---|
| 410 | (1, 'Español', 'esp'), |
---|
[6855821] | 411 | (2, 'English', 'eng'), |
---|
| 412 | (3, 'Català', 'cat'); |
---|
[3ec149c] | 413 | |
---|
| 414 | -- -------------------------------------------------------- |
---|
| 415 | |
---|
| 416 | -- |
---|
| 417 | -- Estructura de tabla para la tabla `imagenes` |
---|
| 418 | -- |
---|
| 419 | |
---|
| 420 | CREATE TABLE IF NOT EXISTS `imagenes` ( |
---|
| 421 | `idimagen` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 422 | `nombreca` varchar(50) NOT NULL, |
---|
| 423 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 424 | `idperfilsoft` int(11) DEFAULT NULL, |
---|
| 425 | `idcentro` int(11) DEFAULT NULL, |
---|
| 426 | `comentarios` text, |
---|
| 427 | `grupoid` int(11) DEFAULT NULL, |
---|
| 428 | `idrepositorio` int(11) NOT NULL, |
---|
| 429 | `numpar` smallint(6) NOT NULL, |
---|
[316a173] | 430 | `codpar` int(8) NOT NULL, |
---|
[4329e85] | 431 | `tipo` tinyint NULL, |
---|
| 432 | `imagenid` int NOT NULL DEFAULT '0', |
---|
| 433 | `ruta` varchar(250) NULL, |
---|
[3ec149c] | 434 | PRIMARY KEY (`idimagen`) |
---|
| 435 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 436 | |
---|
| 437 | -- -------------------------------------------------------- |
---|
| 438 | |
---|
| 439 | -- |
---|
| 440 | -- Estructura de tabla para la tabla `menus` |
---|
| 441 | -- |
---|
| 442 | |
---|
| 443 | CREATE TABLE IF NOT EXISTS `menus` ( |
---|
| 444 | `idmenu` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 445 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 446 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 447 | `idurlimg` int(11) NOT NULL DEFAULT '0', |
---|
| 448 | `titulo` varchar(250) DEFAULT NULL, |
---|
| 449 | `coorx` int(11) DEFAULT NULL, |
---|
| 450 | `coory` int(11) DEFAULT NULL, |
---|
| 451 | `modalidad` tinyint(4) DEFAULT NULL, |
---|
| 452 | `scoorx` int(11) DEFAULT NULL, |
---|
| 453 | `scoory` int(11) DEFAULT NULL, |
---|
| 454 | `smodalidad` tinyint(4) DEFAULT NULL, |
---|
| 455 | `comentarios` text, |
---|
| 456 | `grupoid` int(11) NOT NULL DEFAULT '0', |
---|
| 457 | `htmlmenupub` varchar(250) DEFAULT NULL, |
---|
| 458 | `htmlmenupri` varchar(250) DEFAULT NULL, |
---|
[07a48a4] | 459 | `resolucion` varchar(50) DEFAULT NULL, |
---|
[3ec149c] | 460 | PRIMARY KEY (`idmenu`) |
---|
| 461 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 462 | |
---|
| 463 | -- -------------------------------------------------------- |
---|
| 464 | |
---|
| 465 | -- |
---|
| 466 | -- Estructura de tabla para la tabla `nombresos` |
---|
| 467 | -- |
---|
| 468 | |
---|
| 469 | CREATE TABLE IF NOT EXISTS `nombresos` ( |
---|
| 470 | `idnombreso` smallint(11) NOT NULL AUTO_INCREMENT, |
---|
| 471 | `nombreso` varchar(250) NOT NULL, |
---|
| 472 | `idtiposo` int(11) DEFAULT '0', |
---|
| 473 | PRIMARY KEY (`idnombreso`) |
---|
| 474 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 475 | |
---|
| 476 | -- -------------------------------------------------------- |
---|
| 477 | |
---|
| 478 | -- |
---|
| 479 | -- Estructura de tabla para la tabla `ordenadores` |
---|
| 480 | -- |
---|
| 481 | |
---|
| 482 | CREATE TABLE IF NOT EXISTS `ordenadores` ( |
---|
| 483 | `idordenador` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 484 | `nombreordenador` varchar(100) DEFAULT NULL, |
---|
| 485 | `ip` varchar(16) NOT NULL, |
---|
| 486 | `mac` varchar(12) DEFAULT NULL, |
---|
| 487 | `idaula` int(11) DEFAULT NULL, |
---|
| 488 | `idperfilhard` int(11) DEFAULT NULL, |
---|
| 489 | `idrepositorio` int(11) DEFAULT NULL, |
---|
| 490 | `grupoid` int(11) DEFAULT NULL, |
---|
| 491 | `idmenu` int(11) DEFAULT NULL, |
---|
| 492 | `cache` int(11) DEFAULT NULL, |
---|
| 493 | `router` varchar(16) NOT NULL, |
---|
| 494 | `mascara` varchar(16) NOT NULL, |
---|
| 495 | `idproautoexec` int(11) NOT NULL, |
---|
[ddd91fb] | 496 | `arranque` VARCHAR( 30 ) NOT NULL DEFAULT '00unknown', |
---|
[cbe1fdf] | 497 | `netiface` enum('eth0','eth1','eth2') DEFAULT 'eth0', |
---|
[5242394] | 498 | `netdriver` varchar( 30 ) NOT NULL DEFAULT 'generic', |
---|
| 499 | `fotoord` varchar( 250 ) NOT NULL, |
---|
| 500 | `validacion` tinyint(1) DEFAULT '0', |
---|
[60b48d3] | 501 | `paginalogin` varchar(100), |
---|
[5242394] | 502 | `paginavalidacion` varchar(100), |
---|
[3ec149c] | 503 | PRIMARY KEY (`idordenador`) |
---|
| 504 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 505 | |
---|
[cbe1fdf] | 506 | |
---|
| 507 | |
---|
[3ec149c] | 508 | -- -------------------------------------------------------- |
---|
| 509 | |
---|
| 510 | -- |
---|
| 511 | -- Estructura de tabla para la tabla `ordenadores_particiones` |
---|
| 512 | -- |
---|
| 513 | |
---|
| 514 | CREATE TABLE IF NOT EXISTS `ordenadores_particiones` ( |
---|
| 515 | `idordenador` int(11) NOT NULL, |
---|
[bd0eca9] | 516 | `numdisk` tinyint(4) NOT NULL, |
---|
[3ec149c] | 517 | `numpar` tinyint(4) NOT NULL, |
---|
[cfa43cb] | 518 | `codpar` int(8) NOT NULL, |
---|
[3ec149c] | 519 | `tamano` int(11) NOT NULL, |
---|
| 520 | `idsistemafichero` smallint(11) NOT NULL, |
---|
| 521 | `idnombreso` smallint(11) NOT NULL, |
---|
| 522 | `idimagen` int(11) NOT NULL, |
---|
| 523 | `idperfilsoft` int(11) NOT NULL, |
---|
[c7b62bd] | 524 | `cache` varchar(500) NOT NULL, |
---|
| 525 | UNIQUE KEY `idordenadornumdisknumpar` (`idordenador`,`numdisk`,`numpar`) |
---|
[3ec149c] | 526 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|
| 527 | |
---|
| 528 | -- -------------------------------------------------------- |
---|
| 529 | |
---|
| 530 | -- |
---|
| 531 | -- Estructura de tabla para la tabla `parametros` |
---|
| 532 | -- |
---|
| 533 | |
---|
| 534 | CREATE TABLE IF NOT EXISTS `parametros` ( |
---|
| 535 | `idparametro` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 536 | `nemonico` char(3) NOT NULL, |
---|
| 537 | `descripcion` text NOT NULL, |
---|
| 538 | `nomidentificador` varchar(64) NOT NULL, |
---|
| 539 | `nomtabla` varchar(64) NOT NULL, |
---|
| 540 | `nomliteral` varchar(64) NOT NULL, |
---|
| 541 | `tipopa` tinyint(1) DEFAULT '0', |
---|
| 542 | `visual` tinyint(4) NOT NULL DEFAULT '0', |
---|
[d866d6b] | 543 | PRIMARY KEY (`idparametro`), |
---|
| 544 | KEY (`nemonico`) |
---|
[4329e85] | 545 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=33 ; |
---|
[3ec149c] | 546 | |
---|
| 547 | -- |
---|
| 548 | -- Volcar la base de datos para la tabla `parametros` |
---|
| 549 | -- |
---|
| 550 | |
---|
| 551 | INSERT INTO `parametros` (`idparametro`, `nemonico`, `descripcion`, `nomidentificador`, `nomtabla`, `nomliteral`, `tipopa`, `visual`) VALUES |
---|
| 552 | (1, 'nfn', 'Nombre de la función o script a ejecutar en el cliente y que implementa el comando. Es posible que también els ervidor debo ejecutar la misma función como ocurre en el comando "Arrancar" y que implementa el comportamiento del comando en el servidor', '', '', '', 0, 0), |
---|
| 553 | (2, 'iph', 'Dirección ip de los ordenadores a los que se envía el comando', '', '', '', 0, 0), |
---|
| 554 | (3, 'ido', 'Identificadores de los ordenadores a los que se envía el comando', '', '', '', 0, 0), |
---|
| 555 | (4, 'mac', 'Direcciones macs de los clientes a los que se le envía el comando', '', '', '', 0, 0), |
---|
| 556 | (5, 'idc', 'Unidad organizativa', 'idcentro', 'centros', '', 1, 0), |
---|
| 557 | (6, 'ida', 'Aula', 'idaula', 'aulas', 'nombreaula', 1, 0), |
---|
| 558 | (18, 'cfg', 'Configuración', '', '', '', 2, 1), |
---|
| 559 | (7, 'dsk', 'Disco', '', '', '', 0, 1), |
---|
| 560 | (8, 'par', 'Partición', '', '', '', 0, 1), |
---|
| 561 | (9, 'ifh', 'Perfil Hardware', 'idperfilhard', 'perfileshard', 'descripcion', 1, 1), |
---|
| 562 | (10, 'ifs', 'Perfil Software', 'idperfilsoft', 'perfilessoft', 'descripcion', 1, 1), |
---|
| 563 | (11, 'idi', 'Imagen', 'idimagen', 'imagenes', 'descripcion', 1, 1), |
---|
[4329e85] | 564 | (12, 'nci', 'Nombre canónico', '', '', '', 0, 1), |
---|
[3ec149c] | 565 | (13, 'scp', 'Código a ejecutar en formato script', '', '', '', 0, 0), |
---|
| 566 | (14, 'npc', 'Nombre del cliente', '', '', '', NULL, 0), |
---|
| 567 | (15, 'che', 'Tamaño de la cache del cliente', '', '', '', NULL, 0), |
---|
| 568 | (16, 'exe', 'Identificador del procedimiento que será el que ejecute el cliente al arrancar (Autoexec)', '', '', '', 0, 0), |
---|
| 569 | (17, 'res', 'Respuesta del comando: Puede tomar los valores 1 o 2 en el caso de que la respuesta sea correcta o que haya un error al ejecutarse.', '', '', '', 0, 0), |
---|
| 570 | (19, 'ipr', 'Repositorio', 'ip', 'repositorios', 'nombrerepositorio', 1, 1), |
---|
| 571 | (20, 'cpt', 'Tipo partición', 'codpar', 'tipospar', 'tipopar', 1, 1), |
---|
[3997593] | 572 | (21, 'sfi', 'Sistema de fichero', 'nemonico', 'sistemasficheros', 'nemonico', 1, 0), |
---|
| 573 | (22, 'tam', 'Tamaño', '', '', '', 0, 1), |
---|
[3ec149c] | 574 | (23, 'ope', 'Operación', ';', '', 'Sin operación;Formatear;Ocultar;Mostrar', 3, 1), |
---|
| 575 | (24, 'nfl', 'Nombre del fichero que se envía o se recibe', '', '', '', 0, 0), |
---|
| 576 | (25, 'hrd', 'Nombre del archivo de inventario hardware enviado por la red', '', '', '', 0, 0), |
---|
| 577 | (26, 'sft', 'Nombre del archivo de inventario software enviado por la red', '', '', '', 0, 0), |
---|
| 578 | (27, 'tpc', 'Tipo de cliente', '', '', '', 0, 0), |
---|
| 579 | (28, 'scp', 'Código script', '', '', '', 4, 1), |
---|
[4329e85] | 580 | (30, 'ptc', 'Protocolo de clonación', ';', '', ';Unicast;Multicast;Torrent', 1, 1), |
---|
[d866d6b] | 581 | (31, 'idf', 'Imagen Incremental', 'idimagen', 'imagenes', 'descripcion', 1, 1), |
---|
| 582 | (32, 'ncf', 'Nombre canónico de la Imagen Incremental', '', '', '', 0, 1), |
---|
| 583 | (33, 'bpi', 'Borrar imagen o partición previamente', '', '', '', 5, 1), |
---|
| 584 | (34, 'cpc', 'Copiar también en cache', '', '', '', 5, 1), |
---|
| 585 | (35, 'bpc', 'Borrado previo de la imagen en cache', '', '', '', 5, 1), |
---|
| 586 | (36, 'rti', 'Ruta de origen', '', '', '', 0, 1), |
---|
[9204a04] | 587 | (37, 'met', 'Método clonación', ';', '', 'Desde caché; Desde repositorio', 3, 1), |
---|
[d866d6b] | 588 | (38, 'nba', 'No borrar archivos en destino', '', '', '', 0, 1); |
---|
[3ec149c] | 589 | |
---|
| 590 | -- -------------------------------------------------------- |
---|
| 591 | |
---|
| 592 | -- |
---|
| 593 | -- Estructura de tabla para la tabla `perfileshard` |
---|
[4329e85] | 594 | |
---|
[3ec149c] | 595 | -- |
---|
| 596 | |
---|
| 597 | CREATE TABLE IF NOT EXISTS `perfileshard` ( |
---|
| 598 | `idperfilhard` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 599 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 600 | `comentarios` text, |
---|
| 601 | `grupoid` int(11) DEFAULT NULL, |
---|
| 602 | `idcentro` int(11) NOT NULL, |
---|
[40ad2e8d] | 603 | `winboot` enum( 'reboot', 'kexec' ) NOT NULL DEFAULT 'reboot', |
---|
[3ec149c] | 604 | PRIMARY KEY (`idperfilhard`) |
---|
| 605 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 606 | |
---|
| 607 | |
---|
| 608 | -- -------------------------------------------------------- |
---|
| 609 | |
---|
| 610 | -- |
---|
| 611 | -- Estructura de tabla para la tabla `perfileshard_hardwares` |
---|
| 612 | -- |
---|
| 613 | |
---|
| 614 | CREATE TABLE IF NOT EXISTS `perfileshard_hardwares` ( |
---|
| 615 | `idperfilhard` int(11) NOT NULL DEFAULT '0', |
---|
| 616 | `idhardware` int(11) NOT NULL DEFAULT '0', |
---|
| 617 | KEY `idperfilhard` (`idperfilhard`) |
---|
| 618 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|
| 619 | |
---|
| 620 | -- -------------------------------------------------------- |
---|
| 621 | |
---|
| 622 | -- |
---|
| 623 | -- Estructura de tabla para la tabla `perfilessoft` |
---|
| 624 | -- |
---|
| 625 | |
---|
| 626 | CREATE TABLE IF NOT EXISTS `perfilessoft` ( |
---|
| 627 | `idperfilsoft` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 628 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 629 | `comentarios` text, |
---|
| 630 | `grupoid` int(11) DEFAULT NULL, |
---|
| 631 | `idcentro` int(11) NOT NULL, |
---|
| 632 | PRIMARY KEY (`idperfilsoft`) |
---|
| 633 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 634 | |
---|
| 635 | -- -------------------------------------------------------- |
---|
| 636 | |
---|
| 637 | -- |
---|
| 638 | -- Estructura de tabla para la tabla `perfilessoft_softwares` |
---|
| 639 | -- |
---|
| 640 | |
---|
| 641 | CREATE TABLE IF NOT EXISTS `perfilessoft_softwares` ( |
---|
| 642 | `idperfilsoft` int(11) NOT NULL DEFAULT '0', |
---|
| 643 | `idsoftware` int(11) NOT NULL DEFAULT '0' |
---|
| 644 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|
| 645 | |
---|
| 646 | -- -------------------------------------------------------- |
---|
| 647 | |
---|
| 648 | -- |
---|
| 649 | -- Estructura de tabla para la tabla `plataformas` |
---|
| 650 | -- |
---|
| 651 | |
---|
| 652 | CREATE TABLE IF NOT EXISTS `plataformas` ( |
---|
| 653 | `idplataforma` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 654 | `plataforma` varchar(250) NOT NULL, |
---|
| 655 | PRIMARY KEY (`idplataforma`) |
---|
| 656 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ; |
---|
| 657 | |
---|
| 658 | -- |
---|
| 659 | -- Volcar la base de datos para la tabla `plataformas` |
---|
| 660 | -- |
---|
| 661 | |
---|
| 662 | INSERT INTO `plataformas` (`idplataforma`, `plataforma`) VALUES |
---|
| 663 | (1, 'MsDos'), |
---|
| 664 | (2, 'Windows'), |
---|
| 665 | (3, 'Linux'), |
---|
| 666 | (4, 'Mac'), |
---|
| 667 | (5, 'OS'); |
---|
| 668 | |
---|
| 669 | -- -------------------------------------------------------- |
---|
| 670 | |
---|
| 671 | -- |
---|
| 672 | -- Estructura de tabla para la tabla `procedimientos` |
---|
| 673 | -- |
---|
| 674 | |
---|
| 675 | CREATE TABLE IF NOT EXISTS `procedimientos` ( |
---|
| 676 | `idprocedimiento` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 677 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 678 | `urlimg` varchar(250) DEFAULT NULL, |
---|
| 679 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 680 | `comentarios` text, |
---|
| 681 | `grupoid` int(11) DEFAULT '0', |
---|
| 682 | PRIMARY KEY (`idprocedimiento`) |
---|
| 683 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 684 | |
---|
| 685 | -- -------------------------------------------------------- |
---|
| 686 | |
---|
| 687 | -- |
---|
| 688 | -- Estructura de tabla para la tabla `procedimientos_acciones` |
---|
| 689 | -- |
---|
| 690 | |
---|
| 691 | CREATE TABLE IF NOT EXISTS `procedimientos_acciones` ( |
---|
| 692 | `idprocedimientoaccion` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 693 | `idprocedimiento` int(11) NOT NULL DEFAULT '0', |
---|
| 694 | `orden` smallint(4) DEFAULT NULL, |
---|
| 695 | `idcomando` int(11) NOT NULL DEFAULT '0', |
---|
| 696 | `parametros` text, |
---|
| 697 | `procedimientoid` int(11) NOT NULL, |
---|
| 698 | PRIMARY KEY (`idprocedimientoaccion`) |
---|
| 699 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 700 | |
---|
| 701 | -- -------------------------------------------------------- |
---|
| 702 | |
---|
| 703 | -- |
---|
| 704 | -- Estructura de tabla para la tabla `programaciones` |
---|
| 705 | -- |
---|
| 706 | |
---|
| 707 | CREATE TABLE IF NOT EXISTS `programaciones` ( |
---|
| 708 | `idprogramacion` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 709 | `tipoaccion` int(11) DEFAULT NULL, |
---|
| 710 | `identificador` int(11) DEFAULT NULL, |
---|
| 711 | `nombrebloque` varchar(255) DEFAULT NULL, |
---|
| 712 | `annos` tinyint(4) DEFAULT NULL, |
---|
| 713 | `meses` smallint(4) DEFAULT NULL, |
---|
| 714 | `diario` int(11) DEFAULT NULL, |
---|
| 715 | `dias` tinyint(4) DEFAULT NULL, |
---|
| 716 | `semanas` tinyint(4) DEFAULT NULL, |
---|
| 717 | `horas` smallint(4) DEFAULT NULL, |
---|
| 718 | `ampm` tinyint(1) DEFAULT NULL, |
---|
| 719 | `minutos` tinyint(4) DEFAULT NULL, |
---|
| 720 | `segundos` tinyint(4) DEFAULT NULL, |
---|
| 721 | `horasini` smallint(4) DEFAULT NULL, |
---|
| 722 | `ampmini` tinyint(1) DEFAULT NULL, |
---|
| 723 | `minutosini` tinyint(4) DEFAULT NULL, |
---|
| 724 | `horasfin` smallint(4) DEFAULT NULL, |
---|
| 725 | `ampmfin` tinyint(1) DEFAULT NULL, |
---|
| 726 | `minutosfin` tinyint(4) DEFAULT NULL, |
---|
| 727 | `suspendida` tinyint(1) DEFAULT NULL, |
---|
| 728 | `sesion` int(11) NOT NULL, |
---|
| 729 | PRIMARY KEY (`idprogramacion`) |
---|
| 730 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 731 | |
---|
| 732 | -- -------------------------------------------------------- |
---|
| 733 | |
---|
| 734 | -- |
---|
| 735 | -- Estructura de tabla para la tabla `repositorios` |
---|
| 736 | -- |
---|
| 737 | |
---|
| 738 | CREATE TABLE IF NOT EXISTS `repositorios` ( |
---|
| 739 | `idrepositorio` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 740 | `nombrerepositorio` varchar(250) NOT NULL, |
---|
| 741 | `ip` varchar(15) NOT NULL DEFAULT '', |
---|
| 742 | `passguor` varchar(50) NOT NULL DEFAULT '', |
---|
| 743 | `pathrepoconf` varchar(250) NOT NULL, |
---|
| 744 | `pathrepod` varchar(250) NOT NULL, |
---|
| 745 | `pathpxe` varchar(250) NOT NULL, |
---|
| 746 | `idcentro` int(11) DEFAULT NULL, |
---|
| 747 | `grupoid` int(11) DEFAULT NULL, |
---|
| 748 | `comentarios` text, |
---|
| 749 | `puertorepo` int(11) NOT NULL, |
---|
| 750 | PRIMARY KEY (`idrepositorio`) |
---|
| 751 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 752 | |
---|
[58d5ad2] | 753 | INSERT INTO `repositorios` (`idrepositorio`,`nombrerepositorio`,`ip`,`passguor`,`pathrepoconf`,`pathrepod`,`pathpxe`,`idcentro`,`grupoid`,`comentarios`,`puertorepo`) VALUES |
---|
[d53c4ed] | 754 | (1,'Repositorio (Default)','SERVERIP','','','/opt/opengnsys/admin','/opt/opengnsys/tftpboot/pxelinux.cfg',1,0,'',2002); |
---|
[58d5ad2] | 755 | |
---|
| 756 | |
---|
[3ec149c] | 757 | -- -------------------------------------------------------- |
---|
| 758 | |
---|
| 759 | -- |
---|
| 760 | -- Estructura de tabla para la tabla `sistemasficheros` |
---|
| 761 | -- |
---|
| 762 | |
---|
| 763 | CREATE TABLE IF NOT EXISTS `sistemasficheros` ( |
---|
| 764 | `idsistemafichero` smallint(11) NOT NULL AUTO_INCREMENT, |
---|
| 765 | `descripcion` varchar(50) NOT NULL DEFAULT '', |
---|
| 766 | `nemonico` varchar(16) DEFAULT NULL, |
---|
[316a173] | 767 | `codpar` int(8) NOT NULL, |
---|
[2fae4340] | 768 | PRIMARY KEY (`idsistemafichero`), |
---|
[ed5611d] | 769 | UNIQUE KEY (`descripcion`) |
---|
[3ec149c] | 770 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
[ed5611d] | 771 | INSERT INTO `sistemasficheros` (`idsistemafichero`, `descripcion`, `nemonico`, `codpar`) VALUES |
---|
| 772 | (1, 'EMPTY', 'EMPTY', 0), |
---|
| 773 | (2, 'CACHE', 'CACHE', 0), |
---|
| 774 | (3, 'BTRFS', 'BTRFS', 0), |
---|
| 775 | (4, 'EXT2', 'EXT2', 0), |
---|
| 776 | (5, 'EXT3', 'EXT3', 0), |
---|
| 777 | (6, 'EXT4', 'EXT4', 0), |
---|
| 778 | (7, 'FAT12', 'FAT12', 0), |
---|
| 779 | (8, 'FAT16', 'FAT16', 0), |
---|
| 780 | (9, 'FAT32', 'FAT32', 0), |
---|
| 781 | (10, 'HFS', 'HFS', 0), |
---|
| 782 | (11, 'HFSPLUS', 'HFSPLUS', 0), |
---|
| 783 | (12, 'JFS', 'JFS', 0), |
---|
| 784 | (13, 'NTFS', 'NTFS', 0), |
---|
| 785 | (14, 'REISERFS', 'REISERFS', 0), |
---|
| 786 | (15, 'REISER4', 'REISER4', 0), |
---|
| 787 | (16, 'UFS', 'UFS', 0), |
---|
| 788 | (17, 'XFS', 'XFS', 0); |
---|
| 789 | |
---|
[3ec149c] | 790 | |
---|
| 791 | -- -------------------------------------------------------- |
---|
| 792 | |
---|
| 793 | -- |
---|
| 794 | -- Estructura de tabla para la tabla `softwares` |
---|
| 795 | -- |
---|
| 796 | |
---|
| 797 | CREATE TABLE IF NOT EXISTS `softwares` ( |
---|
| 798 | `idsoftware` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 799 | `idtiposoftware` int(11) NOT NULL DEFAULT '0', |
---|
| 800 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 801 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 802 | `urlimg` varchar(250) DEFAULT NULL, |
---|
| 803 | `idtiposo` int(11) DEFAULT NULL, |
---|
| 804 | `grupoid` int(11) DEFAULT NULL, |
---|
| 805 | PRIMARY KEY (`idsoftware`) |
---|
| 806 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 807 | |
---|
| 808 | -- -------------------------------------------------------- |
---|
| 809 | |
---|
| 810 | -- |
---|
| 811 | -- Estructura de tabla para la tabla `tareas` |
---|
| 812 | -- |
---|
| 813 | |
---|
| 814 | CREATE TABLE IF NOT EXISTS `tareas` ( |
---|
| 815 | `idtarea` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 816 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 817 | `urlimg` varchar(250) DEFAULT NULL, |
---|
| 818 | `idcentro` int(11) NOT NULL DEFAULT '0', |
---|
| 819 | `ambito` smallint(6) NOT NULL DEFAULT '0', |
---|
| 820 | `idambito` int(11) NOT NULL DEFAULT '0', |
---|
| 821 | `restrambito` text NOT NULL, |
---|
| 822 | `comentarios` text, |
---|
| 823 | `grupoid` int(11) DEFAULT '0', |
---|
| 824 | PRIMARY KEY (`idtarea`) |
---|
| 825 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1; |
---|
| 826 | |
---|
| 827 | -- -------------------------------------------------------- |
---|
| 828 | |
---|
| 829 | -- |
---|
| 830 | -- Estructura de tabla para la tabla `tareas_acciones` |
---|
| 831 | -- |
---|
| 832 | |
---|
| 833 | CREATE TABLE IF NOT EXISTS `tareas_acciones` ( |
---|
| 834 | `idtareaaccion` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 835 | `idtarea` int(11) NOT NULL DEFAULT '0', |
---|
| 836 | `orden` smallint(6) NOT NULL DEFAULT '0', |
---|
| 837 | `idprocedimiento` int(11) NOT NULL DEFAULT '0', |
---|
| 838 | `tareaid` int(11) DEFAULT '0', |
---|
| 839 | PRIMARY KEY (`idtareaaccion`) |
---|
| 840 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 841 | |
---|
| 842 | -- -------------------------------------------------------- |
---|
| 843 | |
---|
| 844 | -- |
---|
| 845 | -- Estructura de tabla para la tabla `tipohardwares` |
---|
| 846 | -- |
---|
| 847 | |
---|
| 848 | CREATE TABLE IF NOT EXISTS `tipohardwares` ( |
---|
| 849 | `idtipohardware` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 850 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 851 | `urlimg` varchar(250) NOT NULL DEFAULT '', |
---|
| 852 | `nemonico` char(3) NOT NULL, |
---|
| 853 | `pci` tinyint(1) NOT NULL, |
---|
| 854 | PRIMARY KEY (`idtipohardware`) |
---|
| 855 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ; |
---|
| 856 | |
---|
| 857 | -- |
---|
| 858 | -- Volcar la base de datos para la tabla `tipohardwares` |
---|
| 859 | -- |
---|
| 860 | |
---|
| 861 | INSERT INTO `tipohardwares` (`idtipohardware`, `descripcion`, `urlimg`, `nemonico`, `pci`) VALUES |
---|
| 862 | (1, 'Placas', '../images/iconos/placabase.gif', 'boa', 0), |
---|
| 863 | (2, 'Dispositivos Multimedia', '../images/iconos/tsonido.gif', 'mul', 0), |
---|
| 864 | (3, 'Tarjetas de Red', '../images/iconos/nic.gif', 'net', 0), |
---|
| 865 | (4, 'Microprocesadores', '../images/iconos/micro.gif', 'cpu', 0), |
---|
| 866 | (5, 'Memorias', '../images/iconos/confihard.gif', 'mem', 0), |
---|
| 867 | (7, 'Tarjetas gráficas', '../images/iconos/vga.gif', 'vga', 0), |
---|
| 868 | (8, 'Discos', '../images/iconos/discoduro.gif', 'dis', 0), |
---|
| 869 | (9, 'Dispositivos de sonido', '../images/iconos/audio.gif', 'aud', 0), |
---|
| 870 | (10, 'Marca y modelo del equipo', '../images/iconos/confihard.gif', 'mod', 0), |
---|
| 871 | (11, 'Modelo y version de la bios', '../images/iconos/confihard.gif', 'bio', 0), |
---|
| 872 | (12, 'Modelo de grabadora o grabadora de CD/DVD', '../images/iconos/dvdcd.gif', 'cdr', 0), |
---|
| 873 | (13, 'Controladores IDE', '../images/iconos/ide.gif', 'ide', 0), |
---|
| 874 | (14, 'Controladores FireWire', '../images/iconos/confihard.gif', 'fir', 0), |
---|
| 875 | (15, 'Controladores USB', '../images/iconos/usb.gif', 'usb', 0), |
---|
| 876 | (16, 'Bus del Sistema', '../images/iconos/confihard.gif', 'bus', 0); |
---|
| 877 | |
---|
| 878 | -- -------------------------------------------------------- |
---|
| 879 | |
---|
| 880 | -- |
---|
| 881 | -- Estructura de tabla para la tabla `tiposoftwares` |
---|
| 882 | -- |
---|
| 883 | |
---|
| 884 | CREATE TABLE IF NOT EXISTS `tiposoftwares` ( |
---|
| 885 | `idtiposoftware` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 886 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 887 | `urlimg` varchar(250) NOT NULL DEFAULT '', |
---|
| 888 | PRIMARY KEY (`idtiposoftware`) |
---|
| 889 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; |
---|
| 890 | |
---|
| 891 | -- |
---|
| 892 | -- Volcar la base de datos para la tabla `tiposoftwares` |
---|
| 893 | -- |
---|
| 894 | |
---|
| 895 | INSERT INTO `tiposoftwares` (`idtiposoftware`, `descripcion`, `urlimg`) VALUES |
---|
| 896 | (1, 'Sistemas Operativos', '../images/iconos/so.gif'), |
---|
| 897 | (2, 'Aplicaciones', '../images/iconos/aplicaciones.gif'), |
---|
| 898 | (3, 'Archivos', '../images/iconos/archivos.gif'); |
---|
| 899 | |
---|
| 900 | -- -------------------------------------------------------- |
---|
| 901 | |
---|
| 902 | -- |
---|
| 903 | -- Estructura de tabla para la tabla `tiposos` |
---|
| 904 | -- |
---|
| 905 | |
---|
| 906 | CREATE TABLE IF NOT EXISTS `tiposos` ( |
---|
| 907 | `idtiposo` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 908 | `tiposo` varchar(250) NOT NULL, |
---|
| 909 | `idplataforma` int(11) NOT NULL, |
---|
| 910 | PRIMARY KEY (`idtiposo`) |
---|
| 911 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ; |
---|
| 912 | |
---|
| 913 | -- |
---|
| 914 | -- Volcar la base de datos para la tabla `tiposos` |
---|
| 915 | -- |
---|
| 916 | |
---|
| 917 | INSERT INTO `tiposos` (`idtiposo`, `tiposo`, `idplataforma`) VALUES |
---|
| 918 | (1, 'MsDos 6.0', 1), |
---|
| 919 | (2, 'Windows 98', 2), |
---|
| 920 | (3, 'Linux Ubuntu', 3), |
---|
| 921 | (4, 'Mac', 0), |
---|
| 922 | (5, 'OS', 0), |
---|
| 923 | (17, 'Windows XP', 2), |
---|
| 924 | (18, 'Windows Vista', 2), |
---|
| 925 | (19, 'Linux Red Hat', 3), |
---|
| 926 | (20, 'Windows 7', 2); |
---|
| 927 | |
---|
| 928 | -- -------------------------------------------------------- |
---|
| 929 | |
---|
| 930 | -- |
---|
| 931 | -- Estructura de tabla para la tabla `tipospar` |
---|
| 932 | -- |
---|
| 933 | |
---|
| 934 | CREATE TABLE IF NOT EXISTS `tipospar` ( |
---|
[e88c0b1] | 935 | `codpar` int(8) NOT NULL, |
---|
[3ec149c] | 936 | `tipopar` varchar(250) NOT NULL, |
---|
| 937 | `clonable` tinyint(4) NOT NULL, |
---|
| 938 | UNIQUE KEY `codpar` (`codpar`) |
---|
| 939 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
---|
| 940 | |
---|
| 941 | -- |
---|
| 942 | -- Volcar la base de datos para la tabla `tipospar` |
---|
| 943 | -- |
---|
| 944 | |
---|
| 945 | INSERT INTO `tipospar` (`codpar`, `tipopar`, `clonable`) VALUES |
---|
| 946 | (0, 'EMPTY', 0), |
---|
| 947 | (1, 'FAT12', 1), |
---|
| 948 | (5, 'EXTENDED', 0), |
---|
[e88c0b1] | 949 | (6, 'FAT16', 1), |
---|
[3ec149c] | 950 | (7, 'NTFS', 1), |
---|
[e88c0b1] | 951 | (CONV('0B',16,10), 'FAT32', 1), |
---|
| 952 | (CONV('11',16,10), 'HFAT12', 1), |
---|
| 953 | (CONV('16',16,10), 'HFAT16', 1), |
---|
| 954 | (CONV('17',16,10), 'HNTFS', 1), |
---|
| 955 | (CONV('1B',16,10), 'HFAT32', 1), |
---|
| 956 | (CONV('82',16,10), 'LINUX-SWAP', 0), |
---|
| 957 | (CONV('83',16,10), 'LINUX', 1), |
---|
| 958 | (CONV('8E',16,10), 'LINUX-LVM', 1), |
---|
| 959 | (CONV('A5',16,10), 'FREEBSD', 1), |
---|
| 960 | (CONV('A6',16,10), 'OPENBSD', 1), |
---|
| 961 | (CONV('AF',16,10), 'HFS', 1), |
---|
| 962 | (CONV('BE',16,10), 'SOLARIS-BOOT', 1), |
---|
| 963 | (CONV('BF',16,10), 'SOLARIS', 1), |
---|
| 964 | (CONV('CA',16,10), 'CACHE', 0), |
---|
| 965 | (CONV('DA',16,10), 'DATA', 1), |
---|
| 966 | (CONV('EE',16,10), 'GPT', 0), |
---|
| 967 | (CONV('EF',16,10), 'EFI', 0), |
---|
| 968 | (CONV('FB',16,10), 'VMFS', 1), |
---|
| 969 | (CONV('FD',16,10), 'LINUX-RAID', 1), |
---|
| 970 | (CONV('0700',16,10), 'WINDOWS', 1), |
---|
[77648b6] | 971 | (CONV('0C01',16,10), 'WIN-RESERV', 1), |
---|
| 972 | (CONV('7F00',16,10), 'CHROMEOS-KRN', 1), |
---|
| 973 | (CONV('7F01',16,10), 'CHROMEOS', 1), |
---|
| 974 | (CONV('7F02',16,10), 'CHROMEOS-RESERV', 1), |
---|
[e88c0b1] | 975 | (CONV('8200',16,10), 'LINUX-SWAP', 0), |
---|
| 976 | (CONV('8300',16,10), 'LINUX', 1), |
---|
[77648b6] | 977 | (CONV('8301',16,10), 'LINUX-RESERV', 1), |
---|
[e88c0b1] | 978 | (CONV('8E00',16,10), 'LINUX-LVM', 1), |
---|
| 979 | (CONV('A500',16,10), 'FREEBSD-DISK', 0), |
---|
| 980 | (CONV('A501',16,10), 'FREEBSD-BOOT', 1), |
---|
| 981 | (CONV('A502',16,10), 'FREEBSD-SWAP', 0), |
---|
| 982 | (CONV('A503',16,10), 'FREEBSD', 1), |
---|
| 983 | (CONV('AF00',16,10), 'HFS', 1), |
---|
[77648b6] | 984 | (CONV('AF01',16,10), 'HFS-RAID', 1), |
---|
[e88c0b1] | 985 | (CONV('BE00',16,10), 'SOLARIS-BOOT', 1), |
---|
| 986 | (CONV('BF00',16,10), 'SOLARIS', 1), |
---|
| 987 | (CONV('BF01',16,10), 'SOLARIS', 1), |
---|
| 988 | (CONV('BF02',16,10), 'SOLARIS-SWAP', 0), |
---|
| 989 | (CONV('BF03',16,10), 'SOLARIS-DISK', 1), |
---|
| 990 | (CONV('BF04',16,10), 'SOLARIS', 1), |
---|
| 991 | (CONV('BF05',16,10), 'SOLARIS', 1), |
---|
[77648b6] | 992 | (CONV('CA00',16,10), 'CACHE', 0), |
---|
[e88c0b1] | 993 | (CONV('EF00',16,10), 'EFI', 0), |
---|
| 994 | (CONV('EF01',16,10), 'MBR', 0), |
---|
| 995 | (CONV('EF02',16,10), 'BIOS-BOOT', 0), |
---|
| 996 | (CONV('FD00',16,10), 'LINUX-RAID', 1), |
---|
| 997 | (CONV('FFFF',16,10), 'UNKNOWN', 1); |
---|
[3ec149c] | 998 | |
---|
| 999 | -- -------------------------------------------------------- |
---|
| 1000 | |
---|
| 1001 | -- |
---|
| 1002 | -- Estructura de tabla para la tabla `universidades` |
---|
| 1003 | -- |
---|
| 1004 | |
---|
| 1005 | CREATE TABLE IF NOT EXISTS `universidades` ( |
---|
| 1006 | `iduniversidad` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 1007 | `nombreuniversidad` varchar(200) NOT NULL DEFAULT '', |
---|
| 1008 | `comentarios` text, |
---|
| 1009 | PRIMARY KEY (`iduniversidad`) |
---|
| 1010 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; |
---|
| 1011 | |
---|
| 1012 | -- |
---|
| 1013 | -- Volcar la base de datos para la tabla `universidades` |
---|
| 1014 | -- |
---|
| 1015 | |
---|
| 1016 | INSERT INTO `universidades` (`iduniversidad`, `nombreuniversidad`, `comentarios`) VALUES |
---|
[9a09967] | 1017 | (1, 'Universidad (Default)', 'Esta Universidad se crea automáticamentese en el proceso de instalación de OpenGnSys'); |
---|
[3ec149c] | 1018 | |
---|
| 1019 | -- -------------------------------------------------------- |
---|
| 1020 | |
---|
| 1021 | -- |
---|
| 1022 | -- Estructura de tabla para la tabla `urlimagesitems` |
---|
| 1023 | -- |
---|
| 1024 | |
---|
| 1025 | CREATE TABLE IF NOT EXISTS `urlimagesitems` ( |
---|
| 1026 | `idurlimagesitems` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 1027 | `descripcion` varchar(250) NOT NULL DEFAULT '', |
---|
| 1028 | PRIMARY KEY (`idurlimagesitems`) |
---|
| 1029 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
---|
| 1030 | |
---|
| 1031 | -- |
---|
| 1032 | -- Volcar la base de datos para la tabla `urlimagesitems` |
---|
| 1033 | -- |
---|
| 1034 | |
---|
| 1035 | |
---|
| 1036 | -- -------------------------------------------------------- |
---|
| 1037 | |
---|
| 1038 | -- |
---|
| 1039 | -- Estructura de tabla para la tabla `usuarios` |
---|
| 1040 | -- |
---|
| 1041 | |
---|
| 1042 | CREATE TABLE IF NOT EXISTS `usuarios` ( |
---|
| 1043 | `idusuario` int(11) NOT NULL AUTO_INCREMENT, |
---|
| 1044 | `usuario` varchar(50) NOT NULL DEFAULT '', |
---|
| 1045 | `pasguor` varchar(50) NOT NULL DEFAULT '', |
---|
| 1046 | `nombre` varchar(200) DEFAULT NULL, |
---|
| 1047 | `email` varchar(200) DEFAULT NULL, |
---|
| 1048 | `ididioma` int(11) DEFAULT NULL, |
---|
| 1049 | `idtipousuario` tinyint(4) DEFAULT NULL, |
---|
| 1050 | PRIMARY KEY (`idusuario`) |
---|
| 1051 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; |
---|
| 1052 | |
---|
| 1053 | -- |
---|
| 1054 | -- Volcar la base de datos para la tabla `usuarios` |
---|
| 1055 | -- |
---|
| 1056 | |
---|
| 1057 | INSERT INTO `usuarios` (`idusuario`, `usuario`, `pasguor`, `nombre`, `email`, `ididioma`, `idtipousuario`) VALUES |
---|
[c4321ae] | 1058 | (1, 'DBUSER', 'DBPASSWORD', 'Usuario de la base de datos MySql', '', 1, 1); |
---|
[3ec149c] | 1059 | |
---|
[cbe1fdf] | 1060 | |
---|