From c19b30d22f462a5913610d1f9005a34ed95e1119 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 11 Nov 2010 17:38:40 +0100 Subject: [PATCH] =?utf8?q?Verkn=C3=BCpfung=20Tax=20->=20Chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Tax.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/SL/DB/Tax.pm b/SL/DB/Tax.pm index 58161aeff..017b5f13f 100644 --- a/SL/DB/Tax.pm +++ b/SL/DB/Tax.pm @@ -1,12 +1,17 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::Tax; use strict; use SL::DB::MetaSetup::Tax; +__PACKAGE__->meta->add_relationships(chart => { type => 'one 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. __PACKAGE__->meta->make_manager_class; -- 2.20.1