Комментарии:
Awesome! Video 5 and 6 are private. Are they only for patreons?
Ответить(errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table `role_user` add constraint `role_user_user_id_foreign` foreign key (`user_id`) references `users` (`id`) on delete cascade)
ОтветитьKeep on doing a great work sir!
ОтветитьPlease add the source code.
ОтветитьThis guy really knows laravel well!
ОтветитьNot sure why my login / logout doesn't want to cooperate with the rest of the navbar and move with it but other than that all is going well so far.
I previously did a project using your laravel 6 guide but I'm now working on something using sail and I've not excercised what I learned since so I've been going through this course and as usual, it's brilliant.
Why note just a one liner for roles?
$table->foreignId('role_id')->constrained('roles')->cascadeOnDelete();
If I add another table like the Roles table in the model of the new table I have made do I reuse the
public function users(){
return $this->belongsToMany(User::class);
}
or does it need to be renamed to another function?
thank you so much .
ОтветитьAwesome lessons there.
Ответить