summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-01-16 11:15:59 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-01-16 11:15:59 +0100
commit5ff4cd2b4abb4012e53d49a70982520381c1aa74 (patch)
treeea7cd64eab32a6aff7bbd2c48a07906d5388d8ac
parent5936a6de0e797e4ca29c3eb27dfdd11b2d7311f2 (diff)
#946: Fix database bug when updating Ubuntu from 16.04 to 18.04
-rw-r--r--admin/Database/ogAdmBD-1.1.1-1.1.1a.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/Database/ogAdmBD-1.1.1-1.1.1a.sql b/admin/Database/ogAdmBD-1.1.1-1.1.1a.sql
new file mode 100644
index 00000000..cca72327
--- /dev/null
+++ b/admin/Database/ogAdmBD-1.1.1-1.1.1a.sql
@@ -0,0 +1,7 @@
+### Fichero de actualización de la base de datos.
+# OpenGnsys 1.1.1 - OpenGnsys 1.1.1a
+#use ogAdmBD
+
+# Evitar fallo al obtener configuración de ordenador.
+ALTER TABLE ordenadores_particiones
+ ALTER idperfilsoft SET DEFAULT 0;