X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCsvImportReport.pm;h=6b7d29612823a96b45694928891cf9dbbd1f39ef;hb=c8a3fef75e56acb4a3a513c4c0ea783a6f49e516;hp=23d411b9636ebb42a35c3f6568d4f47eaaa24be1;hpb=76235d2d75822152db0bce04ab263da3a669482b;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/CsvImportReport.pm b/SL/DB/MetaSetup/CsvImportReport.pm index 23d411b96..6b7d29612 100644 --- a/SL/DB/MetaSetup/CsvImportReport.pm +++ b/SL/DB/MetaSetup/CsvImportReport.pm @@ -4,17 +4,19 @@ package SL::DB::CsvImportReport; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('csv_import_reports'); __PACKAGE__->meta->columns( + file => { type => 'text', not_null => 1 }, id => { type => 'serial', not_null => 1 }, - session_id => { type => 'text', not_null => 1 }, + numheaders => { type => 'integer', not_null => 1 }, + numrows => { type => 'integer', not_null => 1 }, profile_id => { type => 'integer', not_null => 1 }, + session_id => { type => 'text', not_null => 1 }, + test_mode => { type => 'boolean', not_null => 1 }, type => { type => 'text', not_null => 1 }, - file => { type => 'text', not_null => 1 }, - numrows => { type => 'integer', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -26,7 +28,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;