- 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' },
+);
+
+__PACKAGE__->meta->primary_key_columns([ 'id' ]);