X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f9676efea9ccfa01df2a57dca9c45cc8fde0d09e..64b49f6c38c2c5763f21df00c7b4580ff70893be:/SL/DB/MetaSetup/PriceFactor.pm diff --git a/SL/DB/MetaSetup/PriceFactor.pm b/SL/DB/MetaSetup/PriceFactor.pm index 2eeb5967a..099b6584f 100644 --- a/SL/DB/MetaSetup/PriceFactor.pm +++ b/SL/DB/MetaSetup/PriceFactor.pm @@ -6,18 +6,18 @@ use strict; use base qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'price_factors', +__PACKAGE__->meta->table('price_factors'); - columns => [ - id => { type => 'integer', not_null => 1, sequence => 'id' }, - description => { type => 'text' }, - factor => { type => 'numeric', precision => 5, scale => 15 }, - sortkey => { type => 'integer' }, - ], - - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->columns( + id => { type => 'integer', not_null => 1, sequence => 'id' }, + description => { type => 'text' }, + factor => { type => 'numeric', precision => 5, scale => 15 }, + sortkey => { type => 'integer' }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + +# __PACKAGE__->meta->initialize; + 1; ;