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
When I try to migrate my PostgreSQL database I get:
Error: `error applying update`, `db error: ERROR: relation "refinery_schema_history" does not exist`
When I inspect the database I see some changes are applied, the refinery_schema_history table is created with no records.
The text was updated successfully, but these errors were encountered:
ababo
changed the title
Error: error applying update, db error: ERROR: relation "refinery_schema_history" does not exist
refinery_cli: Error: error applying update, db error: ERROR: relation "refinery_schema_history" does not existMar 5, 2024
I can't share the existing migration SQL files, but those are PostgreSQL migrations we used with go-migration tool that I have renamed using V{N}__{DESC}.sql naming scheme. Then I run refinery migrate -e DATABASE_URL -p ./migrations -t 6 command and it fails with the message above. The database is populated with types, tables and other objects. The refinery_schema_history table is there as well.
When I try to migrate my PostgreSQL database I get:
When I inspect the database I see some changes are applied, the
refinery_schema_history
table is created with no records.The text was updated successfully, but these errors were encountered: