Add card_presence feature, device CRUD, CSV export, Update_Rest_WMT_client playbook, migrate_to_wmt dual-path idmasa

This commit is contained in:
ske087
2026-04-27 14:11:57 +03:00
parent a548fc40de
commit 10dd0a560c
9 changed files with 691 additions and 8 deletions

View File

@@ -50,6 +50,7 @@ class Device(Base):
mac_address = Column(String(17), unique=True, nullable=True, index=True)
config_updated_at = Column(DateTime)
info_reviewed_at = Column(DateTime, default=lambda: datetime(1970, 1, 1))
card_presence = Column(String(10), default='enable')
# Relationships
logs = relationship("LogEntry", back_populates="device")