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