public function setTableDefinition() { parent::setTableDefinition(); $this->setTableName('blogentry'); $this->hasColumn('id', 'integer', 8, array('type' => 'integer', 'unsigned' => 1, 'primary' => true, 'autoincrement' => true, 'length' => '8')); $this->hasColumn('message', 'string', 2147483647, array('type' => 'string', 'notnull' => true, 'length' => '2147483647')); $this->hasColumn('categoryId', 'integer', 8, array('type' => 'integer', 'unsigned' => 1, 'length' => '8')); }
public function setTableDefinition() { parent::setTableDefinition(); $this->hasColumn('id'); $this->hasColumn('titulo'); $this->hasColumn('introtext'); $this->hasColumn('url'); $this->hasColumn('query'); $this->hasColumn('regex'); $this->hasColumn('orden'); $this->hasColumn('activo'); }