From 79da9de6f7646b7480f6e58e78deaefe13fb5672 Mon Sep 17 00:00:00 2001 From: W1CDN Date: Wed, 13 Dec 2023 10:19:45 -0600 Subject: [PATCH] Align constants and schema. --- constants.py | 1 - schema.sql | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/constants.py b/constants.py index aea9984..b950705 100644 --- a/constants.py +++ b/constants.py @@ -12,7 +12,6 @@ db_frames_fields = ("id", "frame", "from", "gpsfixstatus", -"id", "latitude", "longitude", "mbits", diff --git a/schema.sql b/schema.sql index a4a1cb9..943b93a 100644 --- a/schema.sql +++ b/schema.sql @@ -5,6 +5,7 @@ CREATE TABLE frames ( addresse TEXT, alive INT, altitude REAL, + body TEXT, comment TEXT, course REAL, created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, @@ -46,6 +47,7 @@ CREATE TABLE frames ( tEQNS TEXT, tPARM TEXT, tUNIT TEXT, + type TEXT, via TEXT, weather TEXT, wx_raw_timestamp TIMESTAMP