From: Bernd Bleßmann Date: Mon, 21 Feb 2022 10:16:09 +0000 (+0100) Subject: Vorgangsbezeichnung in Dialogbuchung: DB-Upgrade und Rose X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~144 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2144dd8e1a7ed9da5f164d87165d3dce01b8f53b;p=kivitendo-erp.git Vorgangsbezeichnung in Dialogbuchung: DB-Upgrade und Rose --- diff --git a/SL/DB/MetaSetup/GLTransaction.pm b/SL/DB/MetaSetup/GLTransaction.pm index 80c7e851a..a2cda636a 100644 --- a/SL/DB/MetaSetup/GLTransaction.pm +++ b/SL/DB/MetaSetup/GLTransaction.pm @@ -9,25 +9,26 @@ use parent qw(SL::DB::Object); __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' }, - gldate => { type => 'date', default => 'now' }, - id => { type => 'integer', not_null => 1, sequence => 'glid' }, - imported => { type => 'boolean', default => 'false' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - notes => { type => 'text' }, - ob_transaction => { type => 'boolean' }, - reference => { type => 'text' }, - storno => { type => 'boolean', default => 'false' }, - storno_id => { type => 'integer' }, - tax_point => { type => 'date' }, - taxincluded => { type => 'boolean' }, - transdate => { type => 'date', default => 'now' }, - type => { type => 'text' }, + cb_transaction => { type => 'boolean' }, + deliverydate => { type => 'date' }, + department_id => { type => 'integer' }, + description => { type => 'text' }, + employee_id => { type => 'integer' }, + gldate => { type => 'date', default => 'now' }, + id => { type => 'integer', not_null => 1, sequence => 'glid' }, + imported => { type => 'boolean', default => 'false' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + notes => { type => 'text' }, + ob_transaction => { type => 'boolean' }, + reference => { type => 'text' }, + storno => { type => 'boolean', default => 'false' }, + storno_id => { type => 'integer' }, + tax_point => { type => 'date' }, + taxincluded => { type => 'boolean' }, + transaction_description => { type => 'text' }, + transdate => { type => 'date', default => 'now' }, + type => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); diff --git a/sql/Pg-upgrade2/add_gl_transaction_description.sql b/sql/Pg-upgrade2/add_gl_transaction_description.sql new file mode 100644 index 000000000..a8c7b138e --- /dev/null +++ b/sql/Pg-upgrade2/add_gl_transaction_description.sql @@ -0,0 +1,5 @@ +-- @tag: add_gl_transaction_description +-- @description: Vorgangsbezeichnung für Dialogbuchungen +-- @depends: release_3_5_8 + +ALTER TABLE gl ADD transaction_description TEXT;