Why is suddenly database migrations are upgrading from version "1" to "2"? #5049
-
|
I’m using version 5 with PostgreSQL and this issue occurred with the staging database. I’m unsure if it will affect the production database too when I execute This resulted in all migrations ran again. I tried to see migration status but all of them shown as not migrated. I’m also curious why this has suddenly happened as I haven’t upgraded any packages. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
JUST IN, I recently added a new schema to my database and all migrations ran on it. Now I’m wondering how to set my migrations to run only on the default |
Beta Was this translation helpful? Give feedback.
-
|
I resolved this issue by changing searchPath on database config. Thanks! |
Beta Was this translation helpful? Give feedback.
I resolved this issue by changing searchPath on database config.
Thanks!