From 7ee91896d987e2fc3299b2c8885512f3ed6188b4 Mon Sep 17 00:00:00 2001 From: dracony Date: Sat, 24 Aug 2013 22:50:43 +0300 Subject: [PATCH] Added relationship with trees --- classes/App/Model/fairy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/App/Model/fairy.php b/classes/App/Model/fairy.php index 1753443..8f136de 100644 --- a/classes/App/Model/fairy.php +++ b/classes/App/Model/fairy.php @@ -4,5 +4,5 @@ //ORM will guess the name of the table //using the name of the class class Fairy extends \PHPixie\ORM\Model { - -} \ No newline at end of file + public $belongs_to = array('tree'); +}