php artisan make migration
php artisan make:migration create_users_table
php artisan make migration
php artisan make:migration create_users_table
migration rollback
php artisan migrate:rollback
artisan refresh
Try this command it works for me
php artisan migrate:fresh
However, be careful! This command will drop all data from your DB:
Laravel Migrations from an existing database
To Generate Laravel Migrations from an existing database.
Use the following package.
https://github.com/Xethron/migrations-generator
laravel make migration
php artisan make:migration CreateUsersTable
fresh migrqte laravel
$ php artisan migrate:fresh
Dropped all tables successfully.
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us