Student
table is created through this command:
php artisan make:migration create_students_table
This is successful.
When in the students migration file I add the code like that in the image.
Then I run the command
php artisan migrate
but I get an exception as shown in the screenshot.
I want to create a student table, and to update these columns:
- id
- name
but this is not updating. I tried a lot - I am a beginner, so I need help.
Exception: