X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/sql/Pg-upgrade2/filemanagement_feature.sql?ds=inline

diff --git a/sql/Pg-upgrade2/filemanagement_feature.sql b/sql/Pg-upgrade2/filemanagement_feature.sql
new file mode 100644
index 000000000..04d30820a
--- /dev/null
+++ b/sql/Pg-upgrade2/filemanagement_feature.sql
@@ -0,0 +1,13 @@
+-- @tag: filemanagement_feature
+-- @description: "ZusÃ¤tzliche Config flags fÃ¼r Filemanagement"
+-- @depends: release_3_4_1
+ALTER TABLE defaults ADD COLUMN doc_delete_printfiles       boolean DEFAULT false;
+ALTER TABLE defaults ADD COLUMN doc_max_filesize            integer DEFAULT 10000000;
+ALTER TABLE defaults ADD COLUMN doc_storage                 boolean DEFAULT false;
+ALTER TABLE defaults ADD COLUMN doc_storage_for_documents   text default 'Filesystem';
+ALTER TABLE defaults ADD COLUMN doc_storage_for_attachments text default 'Filesystem';
+ALTER TABLE defaults ADD COLUMN doc_storage_for_images      text default 'Filesystem';
+ALTER TABLE defaults ADD COLUMN doc_files                   boolean DEFAULT false;
+ALTER TABLE defaults ADD COLUMN doc_files_rootpath          text default './documents';
+ALTER TABLE defaults ADD COLUMN doc_webdav                  boolean DEFAULT false;
+ALTER TABLE defaults ADD COLUMN doc_database                boolean DEFAULT false;
