Skip to content

NO TICKET: Cascade lexicon term updates#74

Merged
jirhiker merged 4 commits intopre-productionfrom
jir-lexicon-cascade
Aug 13, 2025
Merged

NO TICKET: Cascade lexicon term updates#74
jirhiker merged 4 commits intopre-productionfrom
jir-lexicon-cascade

Conversation

@jirhiker
Copy link
Copy Markdown
Member

Why

This PR addresses the following problem / context:

  • Since the lexicon term is used as the foreign key changes to it need to be cascaded

How

Implementation summary - the following was changed / added / removed:

  • added onupdate='CASCADE' to lexicon_term function

Notes

Any special considerations, workarounds, or follow-up work to note?

  • use the lexicon_term convenience function in all models that use the lexicon

@jirhiker jirhiker changed the base branch from main to pre-production August 11, 2025 05:30
Comment thread db/base.py
@jirhiker jirhiker requested a review from jacob-a-brown August 11, 2025 17:14
@jirhiker jirhiker merged commit bc171eb into pre-production Aug 13, 2025
@jirhiker jirhiker deleted the jir-lexicon-cascade branch August 13, 2025 15:57
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.

3 participants