From 009d4b897115c45af32267b42ab6ffd224403663 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 13 Jun 2013 17:11:21 +0200 Subject: [PATCH] RDBO-Model-Update 'defaults' --- SL/DB/MetaSetup/Default.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index 6e75bc5ad..ce06162d4 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -70,6 +70,13 @@ __PACKAGE__->meta->setup( assemblynumber => { type => 'text' }, warehouse_id => { type => 'integer' }, bin_id => { type => 'integer' }, + company => { type => 'text' }, + address => { type => 'text' }, + taxnumber => { type => 'text' }, + co_ustid => { type => 'text' }, + duns => { type => 'text' }, + sepa_creditor_id => { type => 'text' }, + templates => { type => 'text' }, show_weight => { type => 'boolean', default => 'false', not_null => 1 }, transfer_default => { type => 'boolean', default => 'true' }, transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' }, @@ -82,6 +89,7 @@ __PACKAGE__->meta->setup( primary_key_columns => [ 'id' ], allow_inline_column_values => 1, + foreign_keys => [ bin => { class => 'SL::DB::Bin', -- 2.20.1