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
after the first time I did migrate diff, added some IF EXISTS clauses to the generated .down.sql, and applied the migrations, I can't do the second migrate diff. It's resulting an error Error: sql/migrate: taking database snapshot: sql/migrate: connected database is not clean: found table "atlas_schema_revisions" in connected schema. What do I miss?
The text was updated successfully, but these errors were encountered:
I recommend use docker://postgres/15/dev?search_path=public which will spin a docker container for you so you don't have to manage it. Also, no need to exclude the schema revision table in the gorm env block
Hi I have the following hcl configuration file:
after the first time I did
migrate diff
, added someIF EXISTS
clauses to the generated .down.sql, and applied the migrations, I can't do the secondmigrate diff
. It's resulting an errorError: sql/migrate: taking database snapshot: sql/migrate: connected database is not clean: found table "atlas_schema_revisions" in connected schema
. What do I miss?The text was updated successfully, but these errors were encountered: