X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..b8b112a39bd601b0bc717646d78de470631da22a:/SL/DB/MetaSetup/TaxZone.pm diff --git a/SL/DB/MetaSetup/TaxZone.pm b/SL/DB/MetaSetup/TaxZone.pm index 5823d6833..0190c6367 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( + id => { type => 'integer', not_null => 1 }, + description => { type => 'text' }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + +# __PACKAGE__->meta->initialize; + 1; ;