From 37ed0369e45529b3d0eb45ebfc6030696cdc72cd Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Sat, 25 Jan 2025 18:21:26 -0800 Subject: [PATCH] Update to the data models to show new fields on DB --- meshview/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshview/models.py b/meshview/models.py index 63941a1..4c5a548 100644 --- a/meshview/models.py +++ b/meshview/models.py @@ -20,6 +20,7 @@ class Node(Base): role: Mapped[str] = mapped_column(nullable=True) last_lat: Mapped[int] = mapped_column(BigInteger, nullable=True) last_long: Mapped[int] = mapped_column(BigInteger, nullable=True) + channel: Mapped[str] class Packet(Base): @@ -36,6 +37,7 @@ class Packet(Base): ) payload: Mapped[bytes] import_time: Mapped[datetime] + channel: Mapped[str] class PacketSeen(Base):