Now, I know I said before that I'm not going to remove any more users and jobs from the database,
but since we'll have to add some properties on the user schema.
Actually, yes, we'll have to repeat those steps.
Now, I'm not going to say that this is the last time, but hopefully.
So let me again go to users.
I want to remove them.
And also the same thing is going to be for the jobs.
Now, maybe you don't have to do that, but again, I don't want to run into some weird bugs and therefore
I'll start from the scratch.
And once we're done with that, let's navigate back to our project and we're looking for the user schema.
So where are our models?
And then in the user model.
Effectively, I want to add two more properties.
So the first one is going to be Avatar, which is going to be equal to a string.
And eventually this will point to a cloudinary and I'll discuss why we have such approach.
And also, since I want to remove the old image, if the user uploads a new one, we'll also store the
public ID.
And you'll see why we need it.
Once, of course, we set up delete functionality.
So Avatar is going to be equal to a string.
And then also there will be an avatar public.
Heidi.
And this will also be equal to a string.
Let me save it.
And you know, right away let me create a user.
And in my case, it's going to be again, John, and I'm actually going to do that on my front end.
So I will.
That's actually the complete one.
My bad.
Let me navigate to 5173.
So that's my project.
Let me go over here.
And then I need to register.
Of course.
So let me navigate to this page.
Yep, I registered as John and now I submit if everything is correct, I'll have no jobs.
That's totally fine.
And up next, we're going to start working on the profile page.