From 2703f8fe6292e3fa45a1152457bd5b75284066b9 Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Mon, 29 Jun 2020 23:29:31 +0200 Subject: [PATCH] #3: forgot to import ForeignKey --- toardb/contacts/models_organisation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toardb/contacts/models_organisation.py b/toardb/contacts/models_organisation.py index 5370372..31d4dc4 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 -- GitLab