Skip to content

Add idempotency key for addons table#1403

Merged
jakubno merged 1 commit into
mainfrom
addons-idempotency-eng-3219
Oct 27, 2025
Merged

Add idempotency key for addons table#1403
jakubno merged 1 commit into
mainfrom
addons-idempotency-eng-3219

Conversation

@jakubno
Copy link
Copy Markdown
Member

@jakubno jakubno commented Oct 26, 2025

Note

Adds nullable idempotency_key to addons with a unique partial index and updates the Addon model accordingly.

  • Database:
    • Adds nullable idempotency_key column to public.addons.
    • Creates unique partial index addons_idempotency_key_uidx on idempotency_key when not null.
    • Includes down migration to drop index and column.
  • Models:
    • Updates Addon struct in packages/db/queries/models.go to include IdempotencyKey *string.

Written by Cursor Bugbot for commit 3c546db. This will update automatically on new commits. Configure here.

@jakubno jakubno added the improvement Improvement for current functionality label Oct 26, 2025
@linear
Copy link
Copy Markdown

linear Bot commented Oct 26, 2025

@jakubno jakubno merged commit 42288c5 into main Oct 27, 2025
28 checks passed
@jakubno jakubno deleted the addons-idempotency-eng-3219 branch October 27, 2025 11:02
ValentaTomas pushed a commit that referenced this pull request May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement for current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants