public function setTableDefinition()
 {
     parent::setTableDefinition();
     $this->setTableName('info_resource');
     $this->hasColumn('abstract', 'clob', null, array('type' => 'clob'));
     $this->hasColumn('keywords', 'string', 255, array('type' => 'string', 'length' => 255));
     $this->hasColumn('url', 'string', 255, array('type' => 'string', 'length' => 255));
 }
 public function setTableDefinition()
 {
     parent::setTableDefinition();
     $this->setTableName('time_resource');
     $this->hasColumn('resource_date', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true));
     $this->hasColumn('start_time', 'time', null, array('type' => 'time', 'notnull' => true));
     $this->hasColumn('end_time', 'time', null, array('type' => 'time'));
     $this->hasColumn('num_volunteers', 'integer', null, array('type' => 'integer'));
 }
 public function setTableDefinition()
 {
     parent::setTableDefinition();
     $this->setTableName('stuff_resource');
     $this->hasColumn('quantity', 'integer', null, array('type' => 'integer', 'default' => 1));
 }