From: Sven Schöling Date: Mon, 24 Jun 2013 16:52:50 +0000 (+0200) Subject: MetaSetup update für acc_trans X-Git-Tag: release-3.1.0beta1~273 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/95f559de4505bbeeb325d688f8a154b00d4a5a68?hp=ff6cd9b714ffff6797df2c68e4dfeebcd1b86d08 MetaSetup update für acc_trans --- diff --git a/SL/DB/MetaSetup/AccTransaction.pm b/SL/DB/MetaSetup/AccTransaction.pm index db89491cf..e16dfd116 100644 --- a/SL/DB/MetaSetup/AccTransaction.pm +++ b/SL/DB/MetaSetup/AccTransaction.pm @@ -17,10 +17,10 @@ __PACKAGE__->meta->setup( transdate => { type => 'date', default => 'now' }, gldate => { type => 'date', default => 'now' }, source => { type => 'text' }, - cleared => { type => 'boolean', default => 'false' }, - fx_transaction => { type => 'boolean', default => 'false' }, - ob_transaction => { type => 'boolean', default => 'false' }, - cb_transaction => { type => 'boolean', default => 'false' }, + cleared => { type => 'boolean', default => 'false', not_null => 1 }, + fx_transaction => { type => 'boolean', default => 'false', not_null => 1 }, + ob_transaction => { type => 'boolean', default => 'false', not_null => 1 }, + cb_transaction => { type => 'boolean', default => 'false', not_null => 1 }, project_id => { type => 'integer' }, memo => { type => 'text' }, taxkey => { type => 'integer' }, @@ -32,6 +32,8 @@ __PACKAGE__->meta->setup( primary_key_columns => [ 'acc_trans_id' ], + allow_inline_column_values => 1, + foreign_keys => [ chart => { class => 'SL::DB::Chart',