diff --git a/toardb/contacts/models_organisation.py b/toardb/contacts/models_organisation.py index 5370372c219c658ad1e1a759b39a91a6586c8767..31d4dc436a7a824ae5fd0a4149ca6c958e024fdf 100644 --- a/toardb/contacts/models_organisation.py +++ b/toardb/contacts/models_organisation.py @@ -3,7 +3,7 @@ class Organisation (Base) ========================= """ -from sqlalchemy import CheckConstraint, Column, Integer, String, Sequence +from sqlalchemy import CheckConstraint, Column, Integer, String, Sequence, ForeignKey from toardb.base import Base ORGANISATIONS_ID_SEQ = Sequence('organisations_id_seq') # define sequence explicitly