When we are going to migrate this table in our database to our database and we are going to be using
this model and this table will be linked to this model, and you will see it is very simple and easy.
And here have to function.
We have the function up and we have our studio function.
Don't that's mean if you were on UPU migration, you're going to migrate the syntax in your database
and then you're going to create a table with the product name having, for example, the idea.
And it turns out there is a failed race.
If you run down your migration, you're going to drop your product table in your database.
And the first thing we need to do, we are going to create a database in in our own.
I mean, we're going to call, for example, this is a bus glistens like this, I'm going to say I'm
going to say, for example, here, the lessons.
We're going to cover these lessons.
And Buzz, listen, so I'm using it for information.
Just click on Create.
And if.
Already.
Yes, but this is no problem.
And after creating your best license and database here, we have it here and let us back here and we
need to set the connection between our Larrivee products and our table, our database, which is in
our admin.
You need to come here to click on Notes N.V. here.
You just said the connection between our LARIVEE project and our database is very simple.
And here you need us to put the name of your database, which is Busque License.
Very simple.
You're going to say busked, listens.
Bass lessons have roots and the password admins have password.
But if you want if you have one, you're going to put, for example, your password one on one.
But in my case, I must have password and my username is Roots and I'm glad I'm going to close.
The connection is set in them.
We are going to begin our own products here.
And then what?
We are going to customize our table because before and before my Gritsenko products, we got to add
some columns.
We're going to customize some feels that we are going to be using.
I want to say, for example, I want to add in other fields.
I'm going to say, for example, products made in the product name here.
I'm going to say, for example, string, as you can see, the string here, if you migrate, you add
the string is the Volcker.
And here we're going to say, for example, we're going to put the name of oame.
Oh, always felt we got a product name and we're going to see for that price and we report for us,
we safety is an important Teja.
Yes.
Products for us.
The stress and regional or to the product description and with the product description, we are going
to say.
We are going to say here, May 26th.
May, June 26th, noctis.
With the description you made, your test is the product description here, say, should have the.
Medium tax should have made him taster's a.
You type, yes, like this description and you can see for ring every time you are creating, for example,
it's a work where you are allowing, for example, different types you do have filled with.
Did not believe the car.
You should see we have somewhere we have to set the the length of your marker.
And here in Lavall, we are going also to set the default length of our screen.
Otherwise we are going to get error and to set the default length of our string, we are going to come
through the provider's further and they let us just click on observances of service provider in the
service provider.
We're funds.
We have the two function, we have the register function and we have also the boot function.
And we need to set our default strength length inside of the boot function and others.
We are going to get an error if we make migrate our table, our migration's file.
And here you can see here if we're going to edit regular, say, eliminate.
Backslash supports and here are going to see facades.
Backslash and here Reg'lar says, says, and we're going to call we're going to import these chemicals
in order to set the default length of our string and we're going to stay here.
Camer defaults and hearing us say string length like these.
And hearing, let's say, for example, one on one, and you can put 200 rates, but I'm going to put
one on one and here you can see our best close since we don't have any table.
And let us make sure.
And after customizing our products table, we can run up our make and we can run up the migration's
in order to create our products table in our best Glazer's database.
So let us open our own terminal and we're going to say Pittsford Ariston migrates like these are some
great I'm going to press onto.
So I can see migrating here like this, and if I go back here and I reload a page, I'm going to get
the.
All migration's fussier for liquids users for 30 and 40 products, which is out on tables, and if you
can see here, we have three jobs.
We have migration's this is the products that we have just created.
And if I click on products, so let us see what we're going to have.
I have the product and here I have the product.
Press product description creates an update ads.
And if I click on structure.
And you should see by default with the product name and but I get one on one for my car like this,
very simple and very clear in that we are going to continue through the next video.
We are going to see how we can interact, how we can sell, for example, different information.
I can say, for example, the information to our different fields, which is in our products tables
by using model and these terminal.
Goodbye.