X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FLanguage.pm;h=9aa80396a1a5203ee29f72a1ab2d268f806006cf;hb=cbb8eb078305a3eeca9c6c192a66176676da54f8;hp=662abc985809ad268e595235147d78a5781f0bc1;hpb=6cf3f7762efd40bee49a2b8f11bb4ab6915d9071;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Language.pm b/SL/DB/MetaSetup/Language.pm index 662abc985..9aa80396a 100644 --- a/SL/DB/MetaSetup/Language.pm +++ b/SL/DB/MetaSetup/Language.pm @@ -4,27 +4,25 @@ package SL::DB::Language; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'language', +__PACKAGE__->meta->table('language'); - columns => [ - id => { type => 'integer', not_null => 1, sequence => 'id' }, - description => { type => 'text' }, - template_code => { type => 'text' }, - article_code => { type => 'text' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - output_numberformat => { type => 'text' }, - output_dateformat => { type => 'text' }, - output_longdates => { type => 'boolean' }, - ], +__PACKAGE__->meta->columns( + article_code => { type => 'text' }, + description => { type => 'text' }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + output_dateformat => { type => 'text' }, + output_longdates => { type => 'boolean' }, + output_numberformat => { type => 'text' }, + template_code => { type => 'text' }, +); - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->primary_key_columns([ 'id' ]); - allow_inline_column_values => 1, -); +__PACKAGE__->meta->allow_inline_column_values(1); 1; ;