X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FStatus.pm;h=bcc96b6ef64da4df4654fb34b3add36bf2056426;hb=11aeaa07186197c61dfe610d2a5c981754fd2e9d;hp=c916a7842618aee5b6485d76f928552f47e27e21;hpb=f97b07787db5cacc0f90338fdb3c1237262917cb;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Status.pm b/SL/DB/MetaSetup/Status.pm index c916a7842..bcc96b6ef 100644 --- a/SL/DB/MetaSetup/Status.pm +++ b/SL/DB/MetaSetup/Status.pm @@ -4,27 +4,25 @@ package SL::DB::Status; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'status', +__PACKAGE__->meta->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 }, - ], +__PACKAGE__->meta->columns( + chart_id => { type => 'integer' }, + emailed => { type => 'boolean', default => 'false' }, + formname => { type => 'text' }, + id => { type => 'serial', not_null => 1 }, + itime => { type => 'timestamp', default => 'now()' }, + mtime => { type => 'timestamp' }, + printed => { type => 'boolean', default => 'false' }, + spoolfile => { type => 'text' }, + trans_id => { type => 'integer' }, +); - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->primary_key_columns([ 'id' ]); - allow_inline_column_values => 1, -); +__PACKAGE__->meta->allow_inline_column_values(1); 1; ;