Hi Cornel, thanks so much for this. I had an issue though and it was due to the first line in the migration file $table->uuid('id')->primary;. I had to change it to $table->uuid('id')->primary(); to get it working. The primary modifier has brackets
$table->uuid('id')->primary;
$table->uuid('id')->primary();
primary
Hi Ibrahim. Thanks so much for bringing this up, I'll make the required updates.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Cornel, thanks so much for this. I had an issue though and it was due to the first line in the migration file
$table->uuid('id')->primary;
. I had to change it to$table->uuid('id')->primary();
to get it working. Theprimary
modifier has bracketsHi Ibrahim. Thanks so much for bringing this up, I'll make the required updates.