You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the refresh command to rollback and migrate my database. I have a migration for a password_resets table.
When I run the refresh command, internally it calls the reset command and it doesn't drop the password_resets table because I have it in my migrations.schema.filter regex listed.
Then the refresh command calls the migrate command and it tries to create the password_resets table because this command doesn't account for the filter.
Removing it from the filter regex also isn't any good because then the diff command generates a migration to drop the table every time.
I think I'm doing something wrong like I should provide an extra option when running the command, but there doesn't seem to be any option.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use the refresh command to rollback and migrate my database. I have a migration for a
password_resets
table.When I run the refresh command, internally it calls the reset command and it doesn't drop the
password_resets
table because I have it in mymigrations.schema.filter
regex listed.Then the refresh command calls the migrate command and it tries to create the
password_resets
table because this command doesn't account for the filter.Removing it from the filter regex also isn't any good because then the diff command generates a migration to drop the table every time.
I think I'm doing something wrong like I should provide an extra option when running the command, but there doesn't seem to be any option.
Thanks in advance
The text was updated successfully, but these errors were encountered: