X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FTaxZone.pm;h=0ca5fd810b41dd5986ab740b45a2a31341622145;hb=97a6f6d623a9810e1d324f44a5f8bcd12294f5d3;hp=5823d68338f4dc747bae571c54cebfde278a11c5;hpb=f9676efea9ccfa01df2a57dca9c45cc8fde0d09e;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/TaxZone.pm b/SL/DB/MetaSetup/TaxZone.pm index 5823d6833..0ca5fd810 100644 --- a/SL/DB/MetaSetup/TaxZone.pm +++ b/SL/DB/MetaSetup/TaxZone.pm @@ -4,18 +4,18 @@ package SL::DB::TaxZone; use strict; -use base qw(SL::DB::Object); +use parent 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, sequence => 'id' }, + obsolete => { type => 'boolean', default => 'false' }, + sortkey => { type => 'integer', not_null => 1 }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + 1; ;