From: Moritz Bunkus Date: Fri, 25 Jul 2008 16:21:19 +0000 (+0000) Subject: Das Feld "transaction_description" sollte keine NULL-Werte enthalten, weil das das... X-Git-Tag: release-2.6.0beta1~20 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9d3ce6e8de57241dbba95498f8db127410e11752;p=kivitendo-erp.git Das Feld "transaction_description" sollte keine NULL-Werte enthalten, weil das das Sortieren unnötig erschwert. --- diff --git a/sql/Pg-upgrade2/transaction_description_not_null.sql b/sql/Pg-upgrade2/transaction_description_not_null.sql new file mode 100644 index 000000000..2758d6865 --- /dev/null +++ b/sql/Pg-upgrade2/transaction_description_not_null.sql @@ -0,0 +1,6 @@ +-- @tag: transaction_description_not_null +-- @description: Das Feld "transaction_description" sollte nicht NULL-Werte enthalten. +-- @depends: transaction_description +UPDATE ap SET transaction_description = '' WHERE transaction_description IS NULL; +UPDATE ar SET transaction_description = '' WHERE transaction_description IS NULL; +UPDATE oe SET transaction_description = '' WHERE transaction_description IS NULL;