X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/dc3382e8276f279de81f8bdc53f4af0adb4e8657..0fdf58910b8cd0b54e3d2213a27dab2ffe149bfe:/sql/Pg-upgrade2/add_stocktaking_preselects_client_config_default.sql

diff --git a/sql/Pg-upgrade2/add_stocktaking_preselects_client_config_default.sql b/sql/Pg-upgrade2/add_stocktaking_preselects_client_config_default.sql
new file mode 100644
index 000000000..1ec1e5603
--- /dev/null
+++ b/sql/Pg-upgrade2/add_stocktaking_preselects_client_config_default.sql
@@ -0,0 +1,6 @@
+-- @tag: add_stocktaking_preselects_client_config_default
+-- @description: Konfigurations-Optionen fÃ¼r Vorbelegungen zur Inventur
+-- @depends: warehouse
+ALTER TABLE defaults ADD COLUMN stocktaking_warehouse_id INTEGER REFERENCES warehouse(id);
+ALTER TABLE defaults ADD COLUMN stocktaking_bin_id       INTEGER REFERENCES bin(id);
+ALTER TABLE defaults ADD COLUMN stocktaking_cutoff_date  DATE;
