diff options
Diffstat (limited to 'admin/Database/ogAdmBD-1.1.0pre.sql')
-rw-r--r-- | admin/Database/ogAdmBD-1.1.0pre.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/Database/ogAdmBD-1.1.0pre.sql b/admin/Database/ogAdmBD-1.1.0pre.sql index 4fbdd038..48f24a37 100644 --- a/admin/Database/ogAdmBD-1.1.0pre.sql +++ b/admin/Database/ogAdmBD-1.1.0pre.sql @@ -70,6 +70,13 @@ CREATE PROCEDURE addcols() BEGIN ALTER TABLE ordenadores ADD oglivedir VARCHAR(50) NOT NULL DEFAULT 'ogLive'; END IF; + # AƱadir campo para directorio de ogLive asociado al cliente (ticket #768). + IF NOT EXISTS (SELECT * FROM information_schema.COLUMNS + WHERE COLUMN_NAME='oglivedir' AND TABLE_NAME='aulas' AND TABLE_SCHEMA=DATABASE()) + THEN + ALTER TABLE aulas + ADD oglivedir VARCHAR(50) NOT NULL DEFAULT 'ogLive'; + END IF; # Eliminar campos no usado en inventario de hardware (ticket #713). IF EXISTS (SELECT * FROM information_schema.COLUMNS WHERE COLUMN_NAME='pci' AND TABLE_NAME='tipohardwares' AND TABLE_SCHEMA=DATABASE()) |