Add stations table definiton.

This commit is contained in:
W1CDN 2023-07-08 21:56:15 -05:00
parent 1c057a5555
commit ee75cccc68

View File

@ -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)
);