X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/68525bb179b59bf35362e7a9e482bc17ebfd32c8..7635f647ec7dcdef51684b21601ee0930ea2bc5b:/SL/DB/MetaSetup/AccTransaction.pm?ds=inline 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' }, + }, ], );