Add Monero system status and reconciler heartbeat

This commit is contained in:
xmrcheckout
2026-03-26 15:46:09 +00:00
parent ef7ef8edab
commit d22f1ba0dd
6 changed files with 152 additions and 6 deletions
+10
View File
@@ -143,3 +143,13 @@ class ProfileHistory(Base):
new_value = Column(String, nullable=True)
value_encrypted = Column(Boolean, nullable=False, default=False)
created_at = Column(DateTime(timezone=True), server_default=func.now())
class SystemStatus(Base):
__tablename__ = "system_status"
name = Column(String, primary_key=True)
last_reconcile_started_at = Column(DateTime(timezone=True), nullable=True)
last_reconcile_completed_at = Column(DateTime(timezone=True), nullable=True)
last_reconcile_error = Column(String, nullable=True)
updated_at = Column(DateTime(timezone=True), server_default=func.now(), onupdate=func.now())