MetaSetup neu generiert
[kivitendo-erp.git] / SL / DB / MetaSetup / SchemaInfo.pm
index 0a1e70e..9eddb4b 100644 (file)
@@ -6,19 +6,19 @@ 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(
+  tag   => { type => 'text', not_null => 1 },
+  login => { type => 'text' },
+  itime => { type => 'timestamp', default => 'now()' },
+);
 
-  primary_key_columns => [ 'tag' ],
+__PACKAGE__->meta->primary_key_columns([ 'tag' ]);
 
-  allow_inline_column_values => 1,
-);
+__PACKAGE__->meta->allow_inline_column_values(1);
+
+# __PACKAGE__->meta->initialize;
 
 1;
 ;