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