X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FSchemaInfo.pm;h=0df16d78213455ee8526e6b826cd7b886ec8061a;hb=142ea3bff784ba29bd87de5615bb4f2aec8c977f;hp=0a1e70ef379a63bb8ca027f778faba7f5f663fa3;hpb=f9676efea9ccfa01df2a57dca9c45cc8fde0d09e;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/SchemaInfo.pm b/SL/DB/MetaSetup/SchemaInfo.pm index 0a1e70ef3..0df16d782 100644 --- a/SL/DB/MetaSetup/SchemaInfo.pm +++ b/SL/DB/MetaSetup/SchemaInfo.pm @@ -4,21 +4,19 @@ package SL::DB::SchemaInfo; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'schema_info', +__PACKAGE__->meta->table('schema_info'); - columns => [ - tag => { type => 'text', not_null => 1 }, - login => { type => 'text' }, - itime => { type => 'timestamp', default => 'now()' }, - ], +__PACKAGE__->meta->columns( + itime => { type => 'timestamp', default => 'now()' }, + login => { type => 'text' }, + tag => { type => 'text', not_null => 1 }, +); - primary_key_columns => [ 'tag' ], +__PACKAGE__->meta->primary_key_columns([ 'tag' ]); - allow_inline_column_values => 1, -); +__PACKAGE__->meta->allow_inline_column_values(1); 1; ;