erikbra / grate

grate - the SQL scripts migration runner
MIT License
209 stars 40 forks source link

This is still not fixed. Running grate on a postgres database which had previously been migrated using roundhouse does not work. #557

Closed cocytus closed 4 months ago

cocytus commented 4 months ago

This is still not fixed. Running grate on a postgres database which had previously been migrated using roundhouse does not work.

Originally posted by @cocytus in https://github.com/erikbra/grate/issues/245#issuecomment-2228173931

cocytus commented 4 months ago

Same issue as two years ago:

================================================================================
Grate Structure
================================================================================
An error occurred: Migration failed due to the following errors:

Update ("up"):
--------------------------------------------------------------------------------
01_version_add_status_column.sql: 42P01: relation "roundhouse_archive.Version" does not exist
(0,0): ALTER TABLE "{{SchemaName}}"."{{VersionTable}}"
      ^ 42P01: relation "roundhouse_archive.Version" does not exist
Exception: Database migration (Update) failed!, exiting.. 1
erikbra commented 4 months ago

This was a different error (though related). It is fixed, will be part of 1.8.