Closed
Description
Describe the Bug
I had a pg_dump generated file (with option --schema-only) which had this statement causing trouble:
SELECT pg_catalog.set_config('search_path', '', false);
the error was
error: pq: relation "schema_migrations" does not exist in line 0: TRUNCATE "schema_migrations"
Steps to Reproduce
Steps to reproduce the behavior:
- create a migration which include said statement
- run migrate up
- See error
Expected Behavior
No error and succesful migration expected.
Migrate Version
4.2.2
Loaded Source Drivers
e.g. s3, github, go-bindata, gcs, file
Obtained by running: migrate -help
Loaded Database Drivers
e.g. spanner, stub, clickhouse, cockroachdb, crdb-postgres, postgres, postgresql, redshift, cassandra, cockroach, mysql
Obtained by running: migrate -help
Metadata
Metadata
Assignees
Labels
No labels