X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/sql/Pg-upgrade2/create_part_if_not_found.sql

diff --git a/sql/Pg-upgrade2/create_part_if_not_found.sql b/sql/Pg-upgrade2/create_part_if_not_found.sql
new file mode 100644
index 000000000..0f62ac3bc
--- /dev/null
+++ b/sql/Pg-upgrade2/create_part_if_not_found.sql
@@ -0,0 +1,5 @@
+-- @tag: create_part_if_not_found
+-- @description: Falls Artikel nicht gefunden wird gleich in die Erfassung gehen
+-- @depends: release_3_2_0
+ALTER TABLE defaults ADD COLUMN create_part_if_not_found BOOLEAN DEFAULT FALSE;
+UPDATE defaults SET create_part_if_not_found = TRUE;
