MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren
[kivitendo-erp.git] / SL / DB / MetaSetup / CsvImportReport.pm
index 23d411b..9b2fc39 100644 (file)
@@ -9,12 +9,12 @@ 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 },
+  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', not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
@@ -26,7 +26,5 @@ __PACKAGE__->meta->foreign_keys(
   },
 );
 
-# __PACKAGE__->meta->initialize;
-
 1;
 ;