SQL-Upgradeskript für Bilanz Startatum vergessen
authorG. Richardson <information@kivitendo-premium.de>
Thu, 30 Jan 2014 12:51:00 +0000 (13:51 +0100)
committerG. Richardson <information@kivitendo-premium.de>
Thu, 30 Jan 2014 12:51:00 +0000 (13:51 +0100)
sql/Pg-upgrade2/defaults_balance_startdate.sql [new file with mode: 0644]

diff --git a/sql/Pg-upgrade2/defaults_balance_startdate.sql b/sql/Pg-upgrade2/defaults_balance_startdate.sql
new file mode 100644 (file)
index 0000000..b110c7a
--- /dev/null
@@ -0,0 +1,7 @@
+-- @tag: balance_startdate_method
+-- @description: Neues Feld in defaults zur Konfiguration des Startdatums in der Bilanz 
+-- @depends: clients
+-- @ignore: 0
+
+ALTER TABLE defaults ADD COLUMN balance_startdate_method TEXT;
+UPDATE defaults set balance_startdate_method = 'closedto';