Example #1
0
 public function setTableDefinition()
 {
     parent::setTableDefinition();
     $this->setTableName('aid');
     $this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'primary' => true, 'autoincrement' => true, 'length' => '4'));
     $this->hasColumn('title', 'string', 128, array('type' => 'string', 'notnull' => true, 'length' => '128'));
 }