X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f9676efea9ccfa01df2a57dca9c45cc8fde0d09e..6e6038682b1a2b6e6bc74f1eee40eba21afcb7e9:/SL/DB/MetaSetup/TaxZone.pm diff --git a/SL/DB/MetaSetup/TaxZone.pm b/SL/DB/MetaSetup/TaxZone.pm index 5823d6833..5529d8924 100644 --- a/SL/DB/MetaSetup/TaxZone.pm +++ b/SL/DB/MetaSetup/TaxZone.pm @@ -6,16 +6,16 @@ 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, sequence => 'id' }, + obsolete => { type => 'boolean', default => 'false' }, + sortkey => { type => 'integer', not_null => 1 }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + 1; ;