question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicated ReplaceableEntity on every migration

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eraklicommented, Apr 8, 2022

I had the same behavior on 0.7.6. So I tried to install 0.7.7 first but it didn’t help.

0reactions
oliricecommented, Apr 11, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · olirice/alembic_utils - GitHub
An alembic/sqlalchemy extension for migrating sql views, functions, triggers, and policies - Issues ... Duplicated ReplaceableEntity on every migration.
Read more >
Why does Add-Migration sometimes create duplicate ...
A snapshot of the database model is saved along with every migration in a .resx file. When you add a new migration, EF...
Read more >
CoreData migration object duplicated - Apple Developer
I have a possible fix for now by fetching the new object and deleting it, but I don't want to have to include...
Read more >
Migrate invalid and duplicated users with new JCMA solution!
Fix invalid and duplicated emails in Jira Cloud Migration Assistant (JCMA) when migrating Jira Server or Data Center to Atlassian cloud.
Read more >
Remove duplicated services in data migration - GitLab.org
Summary. The gitlab.com database holds some invalid data in the services table. A project is only allowed to have one service of each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found