hasColumn('fooId', 'integer', null, array('primary' => true)); $this->hasColumn('barId', 'integer', null, array('primary' => true)); } }