Skip to content

Commit

Permalink
chore: fix the python model to reflect reality (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist authored Jul 30, 2024
1 parent 8acbbaf commit f662a02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aggregator/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ class ClientSession(Base):
environment = Column(String(255), nullable=False)
realm_id = Column(String(255), nullable=False)
client_id = Column(String(255), nullable=False)
count = Column(Integer, nullable=False)
active_sessions = Column(Integer, nullable=False)
offline_sessions = Column(Integer, nullable=True)
date = Column(TIMESTAMP(timezone=True), nullable=False)
id = Column(Integer, primary_key=True)

Expand Down

0 comments on commit f662a02

Please sign in to comment.