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