From ee75cccc6896d22732d089756cc8ea633c33241a Mon Sep 17 00:00:00 2001 From: W1CDN Date: Sat, 8 Jul 2023 21:56:15 -0500 Subject: [PATCH] Add stations table definiton. --- schema.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/schema.sql b/schema.sql index 4a64402..a4a1cb9 100644 --- a/schema.sql +++ b/schema.sql @@ -50,3 +50,12 @@ CREATE TABLE frames ( weather TEXT, wx_raw_timestamp TIMESTAMP ); + +CREATE TABLE "stations" ( + "id" INTEGER NOT NULL UNIQUE, + "from" TEXT UNIQUE, + "frames_id" INTEGER, + "last_heard_unix" INTEGER, + "count" INTEGER, + PRIMARY KEY("id" AUTOINCREMENT) +);