automatically migrate data when table is migrated in laravel code example
Example 1: create laravel migration
php artisan make:migration create_users_table
Example 2: laravel migration
php artisan make:migration create_users_table --create=users
php artisan make:migration add_votes_to_users_table --table=users