From 418c0aab69a72da512646541be2d88a866cb9fdb Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 8 Nov 2008 07:48:36 +0000 Subject: Create permanent owner_id column in the item table, and use a soft relationship to bind the two. To do this, I overrode __get in Item_Model so that $item->owner returns the appropriate User_Model. --- core/helpers/core_installer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/helpers/core_installer.php') diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index df194497..a3350f22 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -53,6 +53,7 @@ class core_installer { `thumbnail_height` int(9) default NULL, `resize_width` int(9) default NULL, `resize_height` int(9) default NULL, + `owner_id` int(9) default NULL, PRIMARY KEY (`id`), KEY `parent_id` (`parent_id`), KEY `type` (`type`)) -- cgit v1.2.3