Skip to content

Conversation

@dvdkon
Copy link
Contributor

@dvdkon dvdkon commented Nov 6, 2025

This PR fixes issue #210 (applying patches to databases with constraints can fail) for SQLite by retrying the application of conflicting changeset entries until all are applied or the process stalls.

This is a somewhat ugly method, but SQLite doesn't let us defer FOREIGN KEY constraints and attempting to fully serialise our changes would be a lot more effort.

I plan on sending a PR fixing this for PostgreSQL later.

@dvdkon dvdkon force-pushed the constraint-conflicts branch from e17153e to 63efe50 Compare November 20, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants