Skip to content
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

Adjust guide on tracking management commands #150

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

wesleykendall
Copy link
Member

The context tracking guide's example on tracking management commands ignores migrate. Recent changes in Pghistory's context tracking add %s in the adjusted SQL. If any custom SQL has %....s in it without accompanying arguments, this creates a SQL execution error once the SQL is modified.

I made an issue to track this at #149

For now, I've updated the doc examples to not track migrate whenever tracking management commands. This resolves #109

@wesleykendall wesleykendall merged commit 398c8c2 into main Sep 2, 2024
2 of 4 checks passed
@wesleykendall wesleykendall deleted the fix-context-tracking-docs branch September 2, 2024 18:52
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.

Migration error when collecting context with management command
1 participant