mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-03-04 23:27:46 +01:00
Update to the data models to show new fields on DB
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user