X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FSchemaInfo.pm;h=0518867741a0bf71021b04defd7074c4796cea89;hb=766f5705ecb9cd56adfbffd94c871959bb64c6fd;hp=0a1e70ef379a63bb8ca027f778faba7f5f663fa3;hpb=85da554f9ca728db840c0122e2c3535953919c64;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/SchemaInfo.pm b/SL/DB/MetaSetup/SchemaInfo.pm index 0a1e70ef3..051886774 100644 --- a/SL/DB/MetaSetup/SchemaInfo.pm +++ b/SL/DB/MetaSetup/SchemaInfo.pm @@ -6,19 +6,17 @@ use strict; use base 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; ;