Tilly The Coder
Tilly The Coder
Legacy

Please pay for a subscription before proceeding.

17: Profile Page part 3

In this lesson, you will work through Profile Page part 3 as part of How to build a Twitter clone using Livewire 3 & Laravel reverb.

Caption excerpt: Let's get started with creating a new model in here and let's call that follower. Get out of migration into there. We're going to go into create in this case, follow model. We can find that inside our database folder, inside migrations. In here, we need to add some information that we can then associate followers with. Let's close down our editor bit here so it looks a bit neater. In here, let's have a foreign ID of user ID. It's going to be constrained on cascade on delete. We're also going to go ahead and have a...

Notes

0 notes

Sign in Required

Please sign in to take notes on this lesson.

Transcript

Members only

Members Only

Transcripts are only available to users with an active subscription.