Skip to content

feat: add uuidv7 primary key mixin#22

Merged
mplemay merged 3 commits intomainfrom
add-uuidv7-toggle-settings
Mar 12, 2026
Merged

feat: add uuidv7 primary key mixin#22
mplemay merged 3 commits intomainfrom
add-uuidv7-toggle-settings

Conversation

@mplemay
Copy link
Owner

@mplemay mplemay commented Mar 12, 2026

Summary

  • add the PostgreSQL 18+ UUIDv7PrimaryKeyMixin so models can opt into func.uuidv7() defaults
  • export the new mixin from brussels.mixins and document the backend/version constraints
  • keep existing PrimaryKeyMixin behavior unchanged and ensure the new mixin keeps id out of __init__

@mplemay mplemay merged commit bb41b6b into main Mar 12, 2026
3 checks passed
@mplemay mplemay deleted the add-uuidv7-toggle-settings branch March 12, 2026 20:19
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.

1 participant