X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e0fb092b1a1ac0429036b41abc0a85a011e0d9a8..f3bad0c2bf4ac1a731ee7f1d8da2cccde5f3f10c:/sql/Pg-upgrade2/defaults_partsgroup_required.sql

diff --git a/sql/Pg-upgrade2/defaults_partsgroup_required.sql b/sql/Pg-upgrade2/defaults_partsgroup_required.sql
new file mode 100644
index 000000000..52500029b
--- /dev/null
+++ b/sql/Pg-upgrade2/defaults_partsgroup_required.sql
@@ -0,0 +1,5 @@
+-- @tag: defaults_partsgroup_required
+-- @description: New setting to check that partsgroup is set when saving parts
+-- @depends: release_3_5_8
+
+ALTER TABLE defaults ADD COLUMN partsgroup_required boolean NOT NULL DEFAULT false;
