Add UUID (or swap bigIncrement) and make sure to set as primary column:
Schema::create('events', function (Blueprint $table) {
$table->uuid('id')->primary();
When using the column as a foreign key in a pivot table, create a UUID column and do the same foreign key assignment: