From: Holger Lindemann Date: Tue, 29 Sep 2009 10:52:58 +0000 (+0200) Subject: Variable has_sernumber auch in der db anlegen X-Git-Tag: release-2.6.1beta1~276 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5dbfdff95354c03547c217c291eff25039eca41d;p=kivitendo-erp.git Variable has_sernumber auch in der db anlegen --- diff --git a/sql/Pg-upgrade2/parts_has_sernumber.sql b/sql/Pg-upgrade2/parts_has_sernumber.sql new file mode 100644 index 000000000..e7c670467 --- /dev/null +++ b/sql/Pg-upgrade2/parts_has_sernumber.sql @@ -0,0 +1,6 @@ +-- @tag: has_sernumber +-- @description: Artikel hat eine Seriennummer +-- @depends: parts +has_sernumber | boolean | default false +ALTER TABLE parts ADD COLUMN has_sernumber boolean; +ALTER TABLE parts ALTER COLUMN has_sernumber SET DEFAULT false;