summaryrefslogtreecommitdiffstats
path: root/admin/Database
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-07-16 19:40:12 +0200
committerRamón M. Gómez <ramongomez@us.es>2020-07-16 19:40:12 +0200
commit3b5fb9d7283a872fb4524c794ed6311a9d50589f (patch)
tree6a0e11e8ca496cb494186de03783692f940bc1e0 /admin/Database
parenta35b7c42ee20986414e61b254c22e82fb8619abe (diff)
#991: Status screen shows computers in maintenance mode with transparency.
Diffstat (limited to 'admin/Database')
-rw-r--r--admin/Database/ogAdmBD.sql6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/Database/ogAdmBD.sql b/admin/Database/ogAdmBD.sql
index 6b961ea1..4bac0af0 100644
--- a/admin/Database/ogAdmBD.sql
+++ b/admin/Database/ogAdmBD.sql
@@ -136,7 +136,7 @@ CREATE TABLE `aulas` (
`validacion` tinyint(1) DEFAULT '0',
`paginalogin` varchar(100),
`paginavalidacion` varchar(100),
- `inremotepc` tinyint DEFAULT '0',
+ `inremotepc` tinyint NOT NULL DEFAULT 0,
`oglivedir` varchar(50) NOT NULL DEFAULT 'ogLive',
PRIMARY KEY (`idaula`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
@@ -446,7 +446,7 @@ CREATE TABLE `imagenes` (
`imagenid` int NOT NULL DEFAULT '0',
`ruta` varchar(250) NULL,
`fechacreacion` datetime DEFAULT NULL,
- `inremotepc` tinyint DEFAULT '0',
+ `inremotepc` tinyint NOT NULL DEFAULT 0,
PRIMARY KEY (`idimagen`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
@@ -536,6 +536,8 @@ CREATE TABLE `ordenadores` (
`oglivedir` varchar(50) NOT NULL DEFAULT 'ogLive',
`n_row` smallint NOT NULL DEFAULT 0,
`n_col` smallint NOT NULL DEFAULT 0,
+ `inremotepc` tinyint NOT NULL DEFAULT 0,
+ `maintenance` tinyint NOT NULL DEFAULT 0,
PRIMARY KEY (`idordenador`),
KEY `idaulaip` (`idaula` ASC, `ip` ASC)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;