Now, are we going to see how to delay its product case, so we're clicking here how to do this for
the experts are going through a divorce or something we need to add in order.
In other fields.
In not if you know the.
You know, I think that we have forgotten, so we need to put forth stories, that is OK, we must have
this thought.
So let us come first of all, you're to say.
Our son like.
Creates migration.
Like eight.
Statis.
To.
Proved that.
Our sons creates migration, it's that these two products.
Creates.
Her sons.
I guess so, no make migration or creates migration.
OK, and so I'm going to say yes, OK, that's pretty.
Yes, OK, yes.
Created migration, OK, directly you can't not create but make migration good.
Excuse me.
And just come here.
Uh, Wirginia where you have it you want to run.
It is OK.
And this is the process of new so it can come here.
Database's migration's and we have it here.
OK, this is the.
New column, OK?
Going to see it, we have it here.
And we're going to say and we're going to customize it here.
I kid.
And sure enough, see.
Table.
OK.
And it will be.
An integer like integer, because it is that is in the light, is entering a system that is.
OK, that you say about your studies and here go to see.
If we run down the migration, we say interrupt column.
Up column statis.
This very good.
Care.
And we are going to run up outmigration Schicchi.
Our son.
Like Greece, OK?
Very good.
And it was a treat to come here reloads.
Yes, I have a new column here, but I have zero.
So we are going to put one by whatever, OK, the state is is going to be equal to one by default.
Very good.
So that means once we are going to bake in our products controller, let us come here.
This is all true protest.
That's what it is.
They're products we're saving.
We are going to come.
So here we are going to say.
Products and services that this is going to be cut through.
One lady thought, OK, yes, these women should be equal to one.
Very good.
Yes.
OK, it's going to be cuts one, and then if we trade through, respond here.
Products we are going to return you were.
The idea is you only work in statis is zero or he started this one, please.
OK.
Yes, there were.
Statis.
Is equal to one, OK, if I tried to Lord.
If it change here, put freezing point zero in the tomato, OK, in this, if we try to reload, you're
going to fund it is very good.
So by default, we do not the all to one, OK, because we're going to see the activation in the inactivation.
So make sure, first of all, we import statis and we are going to finish by deleting.
It is very simple.
So how to delete.
You're going to do the same thing.
Let us come in products.
Let us take this and think here.
It does copy and just put it to.
Gillette products.
First and foremost, they tried to reload.
Click here, click on, OK, you can have it.
Let's prove that this is the roots, that's really fine and I'm going to come here anyway, BHP.
Let's products this update of the updating state route gate.
Uh.
Let's prove that.
Late for that.
Yes.
And I'm going to create a product function.
Here just lost the public function and I'm going to guess my age.
OK.
I can't delete.
So what I'm going to do, I'm going to create the next things here, I'm going to say prove that.
We can find.
Heidi.
That is in there.
We are not going to play it directly.
The first thing we need is to stop the real image.
If the product image name is different to no image to JPC.
Okay.
Yes, we are going to take this condition.
Otherwise, if it is.
Yes, you're going to come here, it is very simple, if products make a poor image with the specific
ID is different.
Major jpg you're going to late make your way to drop face for the real image in our products.
And after that, you're going to drop the product image, which is in Oregon.
You're going to drop it, please.
You're going to drop all products.
OK, after that, you're going to drop all product, which isn't a great database.
There you go.
We're going to call these.
We must see.
Delete.
It's like just.
Andreozzi.
Statistic has been successfully deleted.
Yes, it's public resolve, it redirects through here, we can said return back only because we are
in the same witch hunt like we are.
You're saying I can't say or certain regrets, but you're in the same and.
Yes, the same page written backwards, that is like distillates.
OK, yes, and if it's free to come here, reload this page and it's free, for example, to remove
bill pay per click here.
I'm going to click on.
OK, sorry.
Good.
And once I try to make your bell paper disappear, it's OK.
And once I tried to come here in my power for this to reach the care product midshires.
Yes.
No Bill Pipit anymore.
Only Sorbara and Tomato.
OK, and for example, I have created an image with no image.
OK, you're going through it.
Again, soaring vegetable to file bill pay per click on Save.
Yes, very good.
And I'm sure they'll pepper or we have selected this site, so, you know, excuse me.
So I'm going to add in order to excuse me and let's say, for example, APAL.
Price for its Sociedad Slaten image, save and come here products, I have it and it was a dilates.
I'm going to dilates only what I have in my database, but the real image, no image, the tape and
she can't be deleted.
OK, yes, we still have it.
No, you made the tape.
But the new file that we have just uploaded.
Yes.
Is there paper.
Very good.
OK, so very good.
So is making products for it.
So I have those red states that he's here so we don't need to put it here in products because in products
we must review all products even if this product is activated or activated.
Okay, so we are going to solve this for after.
But notice you have to say this, that this column in your database.
So we are going to continue in the next video.
When are we going to recall how to activate and activate these products?