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

diff --git a/sql/Pg-upgrade2-auth/client_task_server.sql b/sql/Pg-upgrade2-auth/client_task_server.sql
new file mode 100644
index 000000000..e636dbf0a
--- /dev/null
+++ b/sql/Pg-upgrade2-auth/client_task_server.sql
@@ -0,0 +1,5 @@
+-- @tag: client_task_server
+-- @description: Einstellungen, um eine Task-Server-Instanz fÃ¼r mehrere Mandanten laufen zu lassen
+-- @depends: release_3_3_0
+ALTER TABLE auth.clients ADD COLUMN task_server_user_id INTEGER;
+ALTER TABLE auth.clients ADD FOREIGN KEY (task_server_user_id) REFERENCES auth.user (id);
