i want to add new enum values called "pending" to existing table so the enum will be [‘paid’, ‘unpaid’, ‘pending’, ‘free’]
so i try to define it on migration and i think it would automatically update when i run "php artisan migrate" but there is no migrate
So can you help me how to add the new values "pending"?
2
Answers
You migration file should be like this
If it dose not work , you can try this
if you want to set default value with it
Create a New Migration:
Run the following Artisan command to create a new migration file:
Here’s an example of what the up and down methods in your migration file might look like: