Answer the question
In order to leave comments, you need to log in
How to add additional fields to a table in laravel?
I created a table, filled it with data, but then I suddenly needed to add fields with a default value.
Is this possible with laravel or do you have to do it in PMA?
Answer the question
In order to leave comments, you need to log in
Why migrations)
1) Create a migration
2) Add nullable() or default(params) to the required field
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question