Skip to content

feat(contact-groups): ContactGroup data model + membership (Issue 614) - #797

Draft
leahpeker wants to merge 1 commit into
mainfrom
auto-614-contact-groups-data-model
Draft

feat(contact-groups): ContactGroup data model + membership (Issue 614)#797
leahpeker wants to merge 1 commit into
mainfrom
auto-614-contact-groups-data-model

Conversation

@leahpeker

Copy link
Copy Markdown
Collaborator

Summary

Introduce the persistence layer for user-owned contact groups (part of #327):

  • ContactGroup model — owner FK to User, name, timestamps, UUID PK (per project convention)
  • M2M members relation to User (simplest form; through-model deferred)
  • Migration 0036_contactgroup
  • Model-level tests (creation, membership add/remove, owner scoping)

API endpoints and frontend are out of scope (separate sub-issues).

Closes #614

Test plan

  • test_contact_group_model.py passes
  • make agent-ci

Add the persistence layer for user-owned contact groups: ContactGroup
(owner FK, name, timestamps, UUID PK) with an M2M members relation to
User, migration, and model-level tests. Part of #327.
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.

feat(contact-groups): data model — ContactGroup + membership

1 participant