protected function create(Blueprint $table) { $table->create(); $table->integer('user_id')->unsigned(); $table->integer('forum_id')->unsigned(); $table->primary(array('user_id', 'forum_id')); }