Design our database scheme using migrations - EP4 - Laravel 8 User Login and Management System

Design our database scheme using migrations - EP4 - Laravel 8 User Login and Management System

Penguin Digital

4 года назад

10,033 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@WouterDorgelo
@WouterDorgelo - 18.11.2020 23:18

Awesome! Video 5 and 6 are private. Are they only for patreons?

Ответить
@asifnadeem3968
@asifnadeem3968 - 05.01.2021 16:02

(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)

Ответить
@kevincepani4324
@kevincepani4324 - 24.01.2021 16:19

Keep on doing a great work sir!

Ответить
@alexlytle089
@alexlytle089 - 02.06.2021 23:45

Please add the source code.

Ответить
@alexlytle089
@alexlytle089 - 03.06.2021 00:46

This guy really knows laravel well!

Ответить
@gigajoules6636
@gigajoules6636 - 15.07.2021 13:32

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.

Ответить
@WillWilson
@WillWilson - 18.08.2021 16:35

Why note just a one liner for roles?
$table->foreignId('role_id')->constrained('roles')->cascadeOnDelete();

Ответить
@rodmiller5032
@rodmiller5032 - 21.10.2021 02:33

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?

Ответить
@bigoshort
@bigoshort - 06.11.2021 13:25

thank you so much .

Ответить
@kennethkipchumba2532
@kennethkipchumba2532 - 03.05.2023 16:40

Awesome lessons there.

Ответить