X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FTransferType.pm;h=7facb04855d7283168b03d490f330a13749c5473;hb=68e4c3a2d381e0b1b5b8cf317a6bed22973aace9;hp=1f018bfd4d3c7ffe1dad310e039979f85fa137b6;hpb=82515b2d93dc5632f24d6e0b6f8f05f3fd19fbb0;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/TransferType.pm b/SL/DB/MetaSetup/TransferType.pm index 1f018bfd4..7facb0485 100644 --- a/SL/DB/MetaSetup/TransferType.pm +++ b/SL/DB/MetaSetup/TransferType.pm @@ -6,22 +6,20 @@ use strict; use base qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'transfer_type', +__PACKAGE__->meta->table('transfer_type'); - columns => [ - id => { type => 'integer', not_null => 1, sequence => 'id' }, - direction => { type => 'varchar', length => 10, not_null => 1 }, - description => { type => 'text' }, - sortkey => { type => 'integer' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - ], +__PACKAGE__->meta->columns( + description => { type => 'text' }, + direction => { type => 'varchar', length => 10, not_null => 1 }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + sortkey => { type => 'integer' }, +); - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->primary_key_columns([ 'id' ]); - allow_inline_column_values => 1, -); +__PACKAGE__->meta->allow_inline_column_values(1); 1; ;