X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c1ef3affe17e3c7d044ae3e6f70b802817de8ede..a3b8cfa7b754629f39ee42e1cadd88d013666a14:/sql/Pg-upgrade2/defaults_set_dunning_creator.sql

diff --git a/sql/Pg-upgrade2/defaults_set_dunning_creator.sql b/sql/Pg-upgrade2/defaults_set_dunning_creator.sql
new file mode 100644
index 000000000..7a89b4302
--- /dev/null
+++ b/sql/Pg-upgrade2/defaults_set_dunning_creator.sql
@@ -0,0 +1,7 @@
+-- @tag: defaults_set_dunning_creator
+-- @description: Ersteller der Mahnungen konfigurierbar machen
+-- @depends: release_3_5_3
+
+CREATE TYPE dunning_creator AS ENUM ('current_employee', 'invoice_employee');
+ALTER TABLE defaults ADD COLUMN dunning_creator dunning_creator default 'current_employee';
+
