1
00:00:00,150 --> 00:00:06,540
When we are going to migrate this table in our database to our database and we are going to be using

2
00:00:06,540 --> 00:00:13,360
this model and this table will be linked to this model, and you will see it is very simple and easy.

3
00:00:13,710 --> 00:00:15,410
And here have to function.

4
00:00:15,750 --> 00:00:20,010
We have the function up and we have our studio function.

5
00:00:20,020 --> 00:00:27,300
Don't that's mean if you were on UPU migration, you're going to migrate the syntax in your database

6
00:00:27,570 --> 00:00:33,750
and then you're going to create a table with the product name having, for example, the idea.

7
00:00:33,900 --> 00:00:37,610
And it turns out there is a failed race.

8
00:00:37,620 --> 00:00:43,110
If you run down your migration, you're going to drop your product table in your database.

9
00:00:43,500 --> 00:00:49,470
And the first thing we need to do, we are going to create a database in in our own.

10
00:00:51,230 --> 00:00:57,920
I mean, we're going to call, for example, this is a bus glistens like this, I'm going to say I'm

11
00:00:57,920 --> 00:01:02,150
going to say, for example, here, the lessons.

12
00:01:02,360 --> 00:01:04,760
We're going to cover these lessons.

13
00:01:06,220 --> 00:01:09,780
And Buzz, listen, so I'm using it for information.

14
00:01:09,810 --> 00:01:11,050
Just click on Create.

15
00:01:12,550 --> 00:01:14,500
And if.

16
00:01:16,940 --> 00:01:17,510
Already.

17
00:01:19,260 --> 00:01:21,700
Yes, but this is no problem.

18
00:01:21,720 --> 00:01:29,820
And after creating your best license and database here, we have it here and let us back here and we

19
00:01:29,820 --> 00:01:36,650
need to set the connection between our Larrivee products and our table, our database, which is in

20
00:01:36,660 --> 00:01:37,830
our admin.

21
00:01:38,440 --> 00:01:43,610
You need to come here to click on Notes N.V. here.

22
00:01:43,690 --> 00:01:49,790
You just said the connection between our LARIVEE project and our database is very simple.

23
00:01:50,160 --> 00:01:54,750
And here you need us to put the name of your database, which is Busque License.

24
00:01:56,100 --> 00:01:56,970
Very simple.

25
00:01:57,030 --> 00:01:58,920
You're going to say busked, listens.

26
00:02:11,270 --> 00:02:15,540
Bass lessons have roots and the password admins have password.

27
00:02:15,570 --> 00:02:20,430
But if you want if you have one, you're going to put, for example, your password one on one.

28
00:02:20,450 --> 00:02:26,960
But in my case, I must have password and my username is Roots and I'm glad I'm going to close.

29
00:02:26,960 --> 00:02:29,350
The connection is set in them.

30
00:02:29,930 --> 00:02:33,470
We are going to begin our own products here.

31
00:02:33,470 --> 00:02:34,310
And then what?

32
00:02:34,790 --> 00:02:40,940
We are going to customize our table because before and before my Gritsenko products, we got to add

33
00:02:40,940 --> 00:02:41,860
some columns.

34
00:02:41,870 --> 00:02:45,450
We're going to customize some feels that we are going to be using.

35
00:02:45,470 --> 00:02:49,100
I want to say, for example, I want to add in other fields.

36
00:02:49,730 --> 00:02:54,910
I'm going to say, for example, products made in the product name here.

37
00:02:54,920 --> 00:03:03,440
I'm going to say, for example, string, as you can see, the string here, if you migrate, you add

38
00:03:03,680 --> 00:03:06,560
the string is the Volcker.

39
00:03:06,740 --> 00:03:11,450
And here we're going to say, for example, we're going to put the name of oame.

40
00:03:15,260 --> 00:03:24,550
Oh, always felt we got a product name and we're going to see for that price and we report for us,

41
00:03:24,560 --> 00:03:26,210
we safety is an important Teja.

42
00:03:26,840 --> 00:03:27,350
Yes.

43
00:03:27,350 --> 00:03:28,340
Products for us.

44
00:03:30,530 --> 00:03:36,930
The stress and regional or to the product description and with the product description, we are going

45
00:03:36,930 --> 00:03:38,100
to say.

46
00:03:42,950 --> 00:03:45,950
We are going to say here, May 26th.

47
00:03:50,590 --> 00:03:52,990
May, June 26th, noctis.

48
00:03:54,230 --> 00:04:03,230
With the description you made, your test is the product description here, say, should have the.

49
00:04:05,050 --> 00:04:10,720
Medium tax should have made him taster's a.

50
00:04:12,530 --> 00:04:20,420
You type, yes, like this description and you can see for ring every time you are creating, for example,

51
00:04:20,420 --> 00:04:27,490
it's a work where you are allowing, for example, different types you do have filled with.

52
00:04:27,500 --> 00:04:29,190
Did not believe the car.

53
00:04:29,210 --> 00:04:35,870
You should see we have somewhere we have to set the the length of your marker.

54
00:04:36,170 --> 00:04:42,950
And here in Lavall, we are going also to set the default length of our screen.

55
00:04:42,950 --> 00:04:50,180
Otherwise we are going to get error and to set the default length of our string, we are going to come

56
00:04:50,180 --> 00:04:57,620
through the provider's further and they let us just click on observances of service provider in the

57
00:04:57,830 --> 00:04:58,830
service provider.

58
00:04:58,850 --> 00:04:59,570
We're funds.

59
00:04:59,570 --> 00:05:04,460
We have the two function, we have the register function and we have also the boot function.

60
00:05:04,820 --> 00:05:11,780
And we need to set our default strength length inside of the boot function and others.

61
00:05:11,780 --> 00:05:17,290
We are going to get an error if we make migrate our table, our migration's file.

62
00:05:17,570 --> 00:05:22,790
And here you can see here if we're going to edit regular, say, eliminate.

63
00:05:25,240 --> 00:05:32,500
Backslash supports and here are going to see facades.

64
00:05:34,850 --> 00:05:42,320
Backslash and here Reg'lar says, says, and we're going to call we're going to import these chemicals

65
00:05:42,320 --> 00:05:50,320
in order to set the default length of our string and we're going to stay here.

66
00:05:50,450 --> 00:05:57,830
Camer defaults and hearing us say string length like these.

67
00:05:59,440 --> 00:06:06,520
And hearing, let's say, for example, one on one, and you can put 200 rates, but I'm going to put

68
00:06:06,520 --> 00:06:14,230
one on one and here you can see our best close since we don't have any table.

69
00:06:14,380 --> 00:06:15,730
And let us make sure.

70
00:06:15,970 --> 00:06:24,430
And after customizing our products table, we can run up our make and we can run up the migration's

71
00:06:24,700 --> 00:06:29,260
in order to create our products table in our best Glazer's database.

72
00:06:29,270 --> 00:06:40,030
So let us open our own terminal and we're going to say Pittsford Ariston migrates like these are some

73
00:06:40,070 --> 00:06:41,860
great I'm going to press onto.

74
00:06:44,050 --> 00:06:51,610
So I can see migrating here like this, and if I go back here and I reload a page, I'm going to get

75
00:06:51,610 --> 00:06:52,120
the.

76
00:06:54,760 --> 00:07:03,370
All migration's fussier for liquids users for 30 and 40 products, which is out on tables, and if you

77
00:07:03,370 --> 00:07:04,900
can see here, we have three jobs.

78
00:07:04,900 --> 00:07:09,180
We have migration's this is the products that we have just created.

79
00:07:09,190 --> 00:07:13,120
And if I click on products, so let us see what we're going to have.

80
00:07:13,150 --> 00:07:15,520
I have the product and here I have the product.

81
00:07:15,520 --> 00:07:19,180
Press product description creates an update ads.

82
00:07:19,390 --> 00:07:21,010
And if I click on structure.

83
00:07:23,690 --> 00:07:31,540
And you should see by default with the product name and but I get one on one for my car like this,

84
00:07:31,550 --> 00:07:38,200
very simple and very clear in that we are going to continue through the next video.

85
00:07:38,240 --> 00:07:45,290
We are going to see how we can interact, how we can sell, for example, different information.

86
00:07:45,290 --> 00:07:51,950
I can say, for example, the information to our different fields, which is in our products tables

87
00:07:52,280 --> 00:07:54,660
by using model and these terminal.

88
00:07:54,780 --> 00:07:55,460
Goodbye.
