Start fleshing out the K_Resource_Group stuff.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 18 Sep 2009 04:38:48 +0000 (00:38 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:54:01 +0000 (16:54 -0400)
kronolith/lib/Resource/Group.php
kronolith/scripts/upgrades/2009-08-17_add_resources.sql

index 575a0cb..00d32fc 100644 (file)
@@ -39,7 +39,6 @@ class Kronolith_Resource_Group extends Kronolith_Resource_Base
     public function __construct($params)
     {
         $params['resource_type'] = 'Group';
-
         parent::__construct($params);
         $this->_driver = $this->getDriver();
     }
index c9a7070..a83cfcb 100644 (file)
@@ -7,6 +7,8 @@ CREATE TABLE kronolith_resources (
     resource_description TEXT,
     resource_category VARCHAR(255) DEFAULT '',
     resource_response_type INT DEFAULT 0,
+    resource_type VARCHAR(255) NOT NULL,
+    resource_members BLOB,
     
     PRIMARY KEY (resource_id)
 );