wip refactoring: reactions, storages isolated
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from sqlalchemy import Column, Integer, String, ForeignKey, JSON as JSONType
|
||||
from sqlalchemy import Column, String, JSON as JSONType
|
||||
from orm.base import Base
|
||||
|
||||
class Notification(Base):
|
||||
@@ -6,4 +6,6 @@ class Notification(Base):
|
||||
|
||||
kind: str = Column(String, unique = True, primary_key = True)
|
||||
template: str = Column(String, nullable = False)
|
||||
variables: JSONType = Column(JSONType, nullable = True) # [ <var1>, .. ]
|
||||
variables: JSONType = Column(JSONType, nullable = True) # [ <var1>, .. ]
|
||||
|
||||
# FIXME looks like frontend code
|
Reference in New Issue
Block a user