Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Make php artisan migrate:reset work with *-schema.dump #2657

Open
hugotiburtino opened this issue Jun 30, 2021 · 0 comments
Open

Make php artisan migrate:reset work with *-schema.dump #2657

hugotiburtino opened this issue Jun 30, 2021 · 0 comments

Comments

@hugotiburtino
Copy link

php artisan migrate:reset doesn't work if you have used php artisan schema:dump --prune before.

$ php artisan migrate:reset
Migration not found: 2021_02_10_192215_create_socials_table
Migration not found: 2021_01_23_193356_create_connection_users_table
Migration not found: 2020_12_11_205954_create_notification_subjects_table
Migration not found: 2020_12_11_202723_create_support_form_answers_table
...

migrate:reset should be using down() function of the migration, since it doesn't exist anymore, it fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant