From: Thomas Heck Date: Mon, 6 Aug 2012 14:51:28 +0000 (+0200) Subject: CSV-Import für benutzerdefinierte Variablen gefixt X-Git-Tag: release-3.0.0beta1~297^2~7 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=dc1dd39444b4b2c4b194ca6a4f52017c8aee614e;p=kivitendo-erp.git CSV-Import für benutzerdefinierte Variablen gefixt behebt #1924 --- 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 index 000000000..3382a58b3 --- /dev/null +++ b/sql/Pg-upgrade2/custom_variables_sub_module_not_null.sql @@ -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; +