From f5ced930f00d537a86e87b57b6786f859e0ff759 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 23 Aug 2019 11:27:09 +0200 Subject: [PATCH] =?utf8?q?Rose-Models=20anhand=20des=20tats=C3=A4chlichen?= =?utf8?q?=20Schemas=20aktualisiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/MetaSetup/BankTransactionAccTrans.pm | 2 +- SL/DB/MetaSetup/Contact.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' }, -- 2.20.1