X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..e214accccd89a9c8:/SL/DB/MetaSetup/SchemaInfo.pm 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; ;