Lieferdatum in Dialogbuchung: DB-Upgrade + Rose
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 19 Jun 2020 09:36:38 +0000 (11:36 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 26 Jun 2020 10:42:21 +0000 (12:42 +0200)
SL/DB/MetaSetup/GLTransaction.pm
sql/Pg-upgrade2/gl_add_deliverydate.sql [new file with mode: 0644]

index 3b829d5..f592513 100644 (file)
@@ -10,6 +10,7 @@ __PACKAGE__->meta->table('gl');
 
 __PACKAGE__->meta->columns(
   cb_transaction => { type => 'boolean' },
+  deliverydate   => { type => 'date' },
   department_id  => { type => 'integer' },
   description    => { type => 'text' },
   employee_id    => { type => 'integer' },
diff --git a/sql/Pg-upgrade2/gl_add_deliverydate.sql b/sql/Pg-upgrade2/gl_add_deliverydate.sql
new file mode 100644 (file)
index 0000000..2e5500e
--- /dev/null
@@ -0,0 +1,5 @@
+-- @tag: gl_add_deliverydate
+-- @description: Liefer-/Leistungsdatum in Dialogbuchungen
+-- @depends: release_3_5_5
+
+ALTER TABLE gl ADD COLUMN deliverydate DATE;