-
OS: Windows 11 Error: sql/migrate: taking database snapshot: sql/migrate: connected database is not clean: found table "atlas_schema_revisions" in connected schema |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @rehth 👋 The concept of the dev-database is explained here: https://atlasgo.io/atlas-schema/sql#dev-database. In short, you cannot use the same database for both
|
Beta Was this translation helpful? Give feedback.
Hey @rehth 👋
The concept of the dev-database is explained here: https://atlasgo.io/atlas-schema/sql#dev-database. In short, you cannot use the same database for both
apply
anddiff
. The first represents the "real" database (or is the actual one), while the second is used in development to validate the migration directory and compute the new SQL diff.