X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCsvImportReportStatus.pm;h=2bca42599a1ef4f3b87a1b44ffc3c4c0b9630f33;hb=a354dfceab313ce89c8739fdb3243183f2bbefbe;hp=580b638f1af98e0548d560a5110f7b5aeb0477ad;hpb=3bc9f2e20fb338ebf28e0bf9e1f17c7ee29213de;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/CsvImportReportStatus.pm b/SL/DB/MetaSetup/CsvImportReportStatus.pm index 580b638f1..2bca42599 100644 --- a/SL/DB/MetaSetup/CsvImportReportStatus.pm +++ b/SL/DB/MetaSetup/CsvImportReportStatus.pm @@ -4,27 +4,25 @@ package SL::DB::CsvImportReportStatus; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'csv_import_report_status', +__PACKAGE__->meta->table('csv_import_report_status'); - columns => [ - id => { type => 'serial', not_null => 1 }, - csv_import_report_id => { type => 'integer', not_null => 1 }, - row => { type => 'integer', not_null => 1 }, - type => { type => 'text', not_null => 1 }, - value => { type => 'text' }, - ], +__PACKAGE__->meta->columns( + csv_import_report_id => { type => 'integer', not_null => 1 }, + id => { type => 'serial', not_null => 1 }, + row => { type => 'integer', not_null => 1 }, + type => { type => 'text', not_null => 1 }, + value => { type => 'text' }, +); - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->primary_key_columns([ 'id' ]); - foreign_keys => [ - csv_import_report => { - class => 'SL::DB::CsvImportReport', - key_columns => { csv_import_report_id => 'id' }, - }, - ], +__PACKAGE__->meta->foreign_keys( + csv_import_report => { + class => 'SL::DB::CsvImportReport', + key_columns => { csv_import_report_id => 'id' }, + }, ); 1;