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