44 lines
859 B
SQL
44 lines
859 B
SQL
DROP TABLE IF EXISTS frames;
|
|
|
|
CREATE TABLE frames (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
addresse TEXT,
|
|
alive INT,
|
|
altitude REAL,
|
|
comment TEXT,
|
|
course REAL,
|
|
created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
format TEXT,
|
|
frame TEXT,
|
|
"from" TEXT,
|
|
gpsfixstatus TEXT,
|
|
latitude REAL,
|
|
longitude REAL,
|
|
mbits INT,
|
|
messagecapable INT,
|
|
message_text TEXT,
|
|
mtype TEXT,
|
|
object_format TEXT,
|
|
object_name TEXT,
|
|
path TEXT,
|
|
posambiguity INT,
|
|
raw TEXT,
|
|
raw_timestamp TEXT,
|
|
speed REAL,
|
|
station_call TEXT,
|
|
station_lat REAL,
|
|
station_lon REAL,
|
|
status TEXT,
|
|
symbol TEXT,
|
|
symbol_table TEXT,
|
|
telemetry TEXT,
|
|
timestamp INT,
|
|
"to" TEXT,
|
|
tEQNS TEXT,
|
|
tPARM TEXT,
|
|
tUNIT TEXT,
|
|
via TEXT,
|
|
weather TEXT,
|
|
wx_raw_timestamp TIMESTAMP
|
|
);
|