### Database update file.
# OpenGnsys 1.1.1d - OpenGnsys 1.2.0
#use ogAdmBD

CREATE TABLE `calendarios` (
      `idcalendario` int(3) NOT NULL AUTO_INCREMENT,
      `description` varchar(64),
      `json_text` varchar(16384),
      PRIMARY KEY (`idcalendario`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

ALTER TABLE `aulas`
      ADD `idcalendario` int(3) DEFAULT NULL,
      ADD `remotepc_reserved` int(1) DEFAULT 0;

ALTER TABLE `ordenadores`
      DROP `inremotepc`;
