X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FDB%2FMetaSetup%2FCsvImportReport.pm;h=3a8433c51dfebaf1fc6ca33993960355ab272841;hb=36703a86a998c7c395f110f94b3b3feebc2a3a80;hp=041825dc90033378847deec19795fedcb436633f;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/CsvImportReport.pm b/SL/DB/MetaSetup/CsvImportReport.pm index 041825dc9..3a8433c51 100644 --- a/SL/DB/MetaSetup/CsvImportReport.pm +++ b/SL/DB/MetaSetup/CsvImportReport.pm @@ -9,12 +9,13 @@ use base 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 }, type => { type => 'text', not_null => 1 }, - file => { type => 'text', not_null => 1 }, - numrows => { type => 'integer' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -26,7 +27,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;