Fixed incorrect grouping, in eventmessages

This commit is contained in:
2024-01-24 22:08:53 +01:00
parent 7901712c4c
commit dcaecba393
3 changed files with 48 additions and 31 deletions

View File

@@ -101,7 +101,7 @@ class Eventmessage(Base):
## Queryable body ##
# Primary Key
id = Column(Integer, primary_key=True, autoincrement=True)
timestamp = Column(Integer, unique=True, index=True)
timestamp = Column(Integer, index=True)
group = Column(Integer, index=True)
group_id = Column(Integer, index=True)
msg_type = Column(Integer, index=True) # message type for the label