summaryrefslogtreecommitdiff
path: root/core/helpers/core_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-08 07:48:36 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-08 07:48:36 +0000
commit418c0aab69a72da512646541be2d88a866cb9fdb (patch)
treefea9ea900fbf33d3e94082b901922ad74b832f50 /core/helpers/core_installer.php
parentea7cc4f46edc730ff873c579a6c63490d24496a6 (diff)
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.
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r--core/helpers/core_installer.php1
1 files changed, 1 insertions, 0 deletions
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`))