-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atlas migrate lint
takes very long
#3077
Comments
Migrate lint always replays all migrations on an empty database, so it is expected to run any statement in these files. This is done to bring the db to the current state before applying any new migrations. This can be somewhat circumvented using checkpoints, but I'm not certain it is applicable in your use case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using atlas with versioned migration.
When having many large sql files (e.g. manually created DML files with thousands of rows),
atlas migrate lint
takes very long.Even though I use
atlas migrate set
to set the schema as latest as possible,altas migrate lint
is very slow. It would be better ifatlas migrate lint
only checks for the new files to be applied.The text was updated successfully, but these errors were encountered: