Files
KiraTV/backend/models/epg.py
T
joaquin f5d6745ed0 Initial commit: KiraTV IPTV proxy server
Full-stack IPTV management system with Xtream Codes API compatibility,
multi-account provider fan-out, Jellyfin local library integration,
real-time dashboard, EPG support, and A/V-sync-safe stream recovery.
2026-05-17 23:22:05 +02:00

14 lines
516 B
Python

from sqlalchemy import Column, Integer, String, Boolean, DateTime, func
from ..database import Base
class EpgSource(Base):
__tablename__ = "epg_sources"
id = Column(Integer, primary_key=True, index=True)
name = Column(String(200), nullable=False)
url = Column(String(2000), nullable=False)
last_fetched_at = Column(DateTime(timezone=True), nullable=True)
is_active = Column(Boolean, default=True, nullable=False)
created_at = Column(DateTime(timezone=True), server_default=func.now())