To create a table use the below command:
php artisan make:migration create_users_table --create=users

To alter a existing table use the below command:
php artisan make:migration add_votes_to_users_table --table=users

Back to list

Leave a Reply

Your email address will not be published. Required fields are marked *