Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion db/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from sqlalchemy_utils import TSVectorType

from db.base import Base, AutoBaseMixin, ReleaseMixin, lexicon_term
from db.notes import NotesMixin

if TYPE_CHECKING:
from db.field import FieldEventParticipant, FieldEvent
Expand All @@ -45,7 +46,7 @@ class ThingContactAssociation(Base, AutoBaseMixin):
)


class Contact(Base, AutoBaseMixin, ReleaseMixin):
class Contact(Base, AutoBaseMixin, ReleaseMixin, NotesMixin):
name: Mapped[str] = mapped_column(String(100), nullable=True)
organization: Mapped[str] = lexicon_term(nullable=True)
role: Mapped[str] = lexicon_term(nullable=False)
Expand Down
Loading