From: Moritz Bunkus Date: Fri, 23 Aug 2019 09:27:09 +0000 (+0200) Subject: Rose-Models anhand des tatsächlichen Schemas aktualisiert X-Git-Tag: release-3.5.6.1~508 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f5ced930f00d537a86e87b57b6786f859e0ff759;p=kivitendo-erp.git Rose-Models anhand des tatsächlichen Schemas aktualisiert --- diff --git a/SL/DB/MetaSetup/BankTransactionAccTrans.pm b/SL/DB/MetaSetup/BankTransactionAccTrans.pm index 6428c997e..5055ca4a5 100644 --- a/SL/DB/MetaSetup/BankTransactionAccTrans.pm +++ b/SL/DB/MetaSetup/BankTransactionAccTrans.pm @@ -19,7 +19,7 @@ __PACKAGE__->meta->columns( mtime => { type => 'timestamp' }, ); -__PACKAGE__->meta->primary_key_columns([ 'id' ]); +__PACKAGE__->meta->primary_key_columns([ 'bank_transaction_id', 'acc_trans_id' ]); __PACKAGE__->meta->allow_inline_column_values(1); diff --git a/SL/DB/MetaSetup/Contact.pm b/SL/DB/MetaSetup/Contact.pm index 36afa038f..419375f02 100644 --- a/SL/DB/MetaSetup/Contact.pm +++ b/SL/DB/MetaSetup/Contact.pm @@ -18,7 +18,7 @@ __PACKAGE__->meta->columns( cp_gender => { type => 'character', length => 1 }, cp_givenname => { type => 'text' }, cp_id => { type => 'integer', not_null => 1, sequence => 'id' }, - cp_main => { type => 'boolean' }, + cp_main => { type => 'boolean', default => 'false' }, cp_mobile1 => { type => 'text' }, cp_mobile2 => { type => 'text' }, cp_name => { type => 'text' },