[email] Only one email bot per hood
This commit is contained in:
parent
da26b06fe4
commit
3bc43a51e9
|
@ -21,7 +21,7 @@ class Email(Model):
|
||||||
""" This table is used to track the hood ID. It also stores the token secret. """
|
""" This table is used to track the hood ID. It also stores the token secret. """
|
||||||
|
|
||||||
id: Integer(primary_key=True) = None
|
id: Integer(primary_key=True) = None
|
||||||
hood: ForeignKey(Hood) # this is supposed to be unique - dl6tom/ormantic/pulls/1
|
hood: ForeignKey(Hood, unique=True)
|
||||||
secret: Text()
|
secret: Text()
|
||||||
|
|
||||||
class Mapping(Mapping):
|
class Mapping(Mapping):
|
||||||
|
|
Loading…
Reference in a new issue