X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..64b49f6c38c2c5763f21df00c7b4580ff70893be:/SL/DB/MetaSetup/Status.pm diff --git a/SL/DB/MetaSetup/Status.pm b/SL/DB/MetaSetup/Status.pm index c916a7842..ccc826708 100644 --- a/SL/DB/MetaSetup/Status.pm +++ b/SL/DB/MetaSetup/Status.pm @@ -6,25 +6,25 @@ use strict; use base qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'status', - - columns => [ - trans_id => { type => 'integer' }, - formname => { type => 'text' }, - printed => { type => 'boolean', default => 'false' }, - emailed => { type => 'boolean', default => 'false' }, - spoolfile => { type => 'text' }, - chart_id => { type => 'integer' }, - itime => { type => 'timestamp', default => 'now()' }, - mtime => { type => 'timestamp' }, - id => { type => 'serial', not_null => 1 }, - ], - - primary_key_columns => [ 'id' ], - - allow_inline_column_values => 1, +__PACKAGE__->meta->table('status'); + +__PACKAGE__->meta->columns( + trans_id => { type => 'integer' }, + formname => { type => 'text' }, + printed => { type => 'boolean', default => 'false' }, + emailed => { type => 'boolean', default => 'false' }, + spoolfile => { type => 'text' }, + chart_id => { type => 'integer' }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + id => { type => 'serial', not_null => 1 }, ); +__PACKAGE__->meta->primary_key_columns([ 'id' ]); + +__PACKAGE__->meta->allow_inline_column_values(1); + +# __PACKAGE__->meta->initialize; + 1; ;