-
Notifications
You must be signed in to change notification settings - Fork 42
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
Duplicated ReplaceableEntity on every migration #85
Comments
Could you please add the version of alembic utils you are using and a sample env.py I can use to reproduce the error? |
Version is the latest:
Example code - https://gist.github.com/erakli/be458b6bc8b122486001d167077a36c6 BUT When I was creating this gist I found that I'm reading SQL functions from template files on every |
Were you having this problem on I don't think its it should be relevant but I released it yesterday so the timing has me worried Thanks for the gist, I'll check it out by Monday |
I had the same behavior on |
PGFunction has had issues with escape characters in the past so that would be my first guess but I'd need to see the SQL files to reproduce. If you could trim down the example to a minimum env.py file with a single in-line PGFunction that produces the behavior I'd be happy to help you debug it |
All ReplaceableEntities that are defined in
env.py
are added on every auto generated migration. Even if there are no change in those entities.Maybe add some sort of checksum?
Anyway, thanks for a good library!
The text was updated successfully, but these errors were encountered: