From 56815e4b1af531e4bca5b9306c605142211eb7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 10 May 2024 13:10:54 +0200 Subject: [PATCH 1/2] Ticket 180571 No se ven las ubicaciones --- db/versions/11045-redLaurel/00-firstScript.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 db/versions/11045-redLaurel/00-firstScript.sql diff --git a/db/versions/11045-redLaurel/00-firstScript.sql b/db/versions/11045-redLaurel/00-firstScript.sql new file mode 100644 index 000000000..e72bc46a5 --- /dev/null +++ b/db/versions/11045-redLaurel/00-firstScript.sql @@ -0,0 +1,3 @@ + +ALTER TABLE vn.productionConfig + ADD defaultSectorFk INT UNSIGNED DEFAULT 37 NOT NULL COMMENT 'Default sector'; \ No newline at end of file From 349c3d71dd99049b6ae15de4d12ffdd420f125b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 10 May 2024 13:14:23 +0200 Subject: [PATCH 2/2] Ticket 180571 No se ven las ubicaciones --- db/versions/11045-redLaurel/00-firstScript.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/versions/11045-redLaurel/00-firstScript.sql b/db/versions/11045-redLaurel/00-firstScript.sql index e72bc46a5..cc83f922f 100644 --- a/db/versions/11045-redLaurel/00-firstScript.sql +++ b/db/versions/11045-redLaurel/00-firstScript.sql @@ -1,3 +1,4 @@ + ALTER TABLE vn.productionConfig - ADD defaultSectorFk INT UNSIGNED DEFAULT 37 NOT NULL COMMENT 'Default sector'; \ No newline at end of file + ADD IF NOT EXISTS defaultSectorFk INT UNSIGNED DEFAULT 37 NOT NULL COMMENT 'Default sector'; \ No newline at end of file