tvid is a redirection manager for televisions, lobby displays, status dashboards, and the like, so that you can set all of the displays in your organization to one URL and manage them via the web.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 months ago
9 months ago
9 months ago
9 months ago
123456789101112131415161718
  1. from sqlalchemy import Column, Sequence, Integer, String, DateTime
  2. from sqlalchemy.ext.declarative import declarative_base
  3. from .server import SQLBASE
  4. Base = SQLBASE
  5. # YAGNI just set admin pw in an env var for now and dont support changing it
  6. # yet
  7. # class Settings(Base):
  8. class TV(Base):
  9. __tablename__ = "tvs"
  10. id = Column(Integer, Sequence("id_seq"), primary_key=True)
  11. displayid = Column(String(20))
  12. lastSeen = Column(DateTime)
  13. target = Column(String(255))
  14. memo = Column(String(255))