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