Add stations table definiton.
This commit is contained in:
parent
1c057a5555
commit
ee75cccc68
|
@ -50,3 +50,12 @@ CREATE TABLE frames (
|
||||||
weather TEXT,
|
weather TEXT,
|
||||||
wx_raw_timestamp TIMESTAMP
|
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)
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user