X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FTaxZone.pm;h=b294531574a33d01f0a20ea668cc822e501d0f05;hb=064d15bb6c59188be545d75e895689cdfea04ad6;hp=5823d68338f4dc747bae571c54cebfde278a11c5;hpb=f97b07787db5cacc0f90338fdb3c1237262917cb;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/TaxZone.pm b/SL/DB/MetaSetup/TaxZone.pm index 5823d6833..b29453157 100644 --- a/SL/DB/MetaSetup/TaxZone.pm +++ b/SL/DB/MetaSetup/TaxZone.pm @@ -6,16 +6,14 @@ use strict; use base qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'tax_zones', +__PACKAGE__->meta->table('tax_zones'); - columns => [ - id => { type => 'integer', not_null => 1 }, - description => { type => 'text' }, - ], - - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->columns( + description => { type => 'text' }, + id => { type => 'integer', not_null => 1 }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + 1; ;