Unnötige Relationship (ist schon FK)
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 21 Jun 2013 16:05:44 +0000 (18:05 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 25 Jun 2013 12:22:33 +0000 (14:22 +0200)
SL/DB/Tax.pm

index 7678d5f..0279dbf 100644 (file)
@@ -4,12 +4,6 @@ use strict;
 
 use SL::DB::MetaSetup::Tax;
 
-__PACKAGE__->meta->add_relationships(chart => { type         => 'many to one',
-                                                class        => 'SL::DB::Chart',
-                                                column_map   => { chart_id => 'id' },
-                                              },
-                                    );
-
 __PACKAGE__->meta->initialize;
 
 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.