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