CSV-Import für benutzerdefinierte Variablen gefixt
authorThomas Heck <theck@linet-services.de>
Mon, 6 Aug 2012 14:51:28 +0000 (16:51 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 9 Aug 2012 16:18:54 +0000 (18:18 +0200)
behebt #1924

sql/Pg-upgrade2/custom_variables_sub_module_not_null.sql [new file with mode: 0644]

diff --git a/sql/Pg-upgrade2/custom_variables_sub_module_not_null.sql b/sql/Pg-upgrade2/custom_variables_sub_module_not_null.sql
new file mode 100644 (file)
index 0000000..3382a58
--- /dev/null
@@ -0,0 +1,8 @@
+-- @tag: custom_variables_sub_module_not_null
+-- @description: sub_module in custom_variables auf NOT NULL ändern.
+-- @encoding: utf-8
+-- @depends: release_2_7_0
+UPDATE custom_variables SET sub_module = '';
+ALTER TABLE custom_variables ALTER COLUMN sub_module SET DEFAULT '';
+ALTER TABLE custom_variables ALTER COLUMN sub_module SET NOT NULL;
+