X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FAccTransaction.pm;h=db89491cf80c7076b27e10ff40881573aa51c4b8;hb=87e65e6c1cc64bfb2d73b6914ed2ef136861dd42;hp=649b4647fcbc2a85d2fce687ac44d5b0c0353fa4;hpb=68525bb179b59bf35362e7a9e482bc17ebfd32c8;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/AccTransaction.pm b/SL/DB/MetaSetup/AccTransaction.pm index 649b4647f..db89491cf 100644 --- a/SL/DB/MetaSetup/AccTransaction.pm +++ b/SL/DB/MetaSetup/AccTransaction.pm @@ -26,12 +26,12 @@ __PACKAGE__->meta->setup( taxkey => { type => 'integer' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, + tax_id => { type => 'integer', not_null => 1 }, + chart_link => { type => 'text', not_null => 1 }, ], primary_key_columns => [ 'acc_trans_id' ], - allow_inline_column_values => 1, - foreign_keys => [ chart => { class => 'SL::DB::Chart', @@ -42,6 +42,11 @@ __PACKAGE__->meta->setup( class => 'SL::DB::Project', key_columns => { project_id => 'id' }, }, + + tax => { + class => 'SL::DB::Tax', + key_columns => { tax_id => 'id' }, + }, ], );