Add missing column
This commit is contained in:
parent
aaee7880fb
commit
087c7e23c1
1 changed files with 2 additions and 1 deletions
|
@ -11,10 +11,11 @@ CREATE TABLE rssis IF NOT EXISTS (
|
|||
reading_id INTEGER, -- The id of the object in the readings table that this rssi measurement belongs to
|
||||
gateway_id INTEGER, -- Gateway id that the RSSI was from
|
||||
rssi FLOAT, -- The RSSI value itself
|
||||
snr FLOAT, -- The signal-to-noise ratio
|
||||
channel INTEGER -- The channel that the RSSI was received over. We might be able to use this to detect single-channel gateways
|
||||
);
|
||||
CREATE TABLE gateways IF NOT EXISTS (
|
||||
id TEXT PRIMARY KEY, -- The gateway s name
|
||||
id TEXT PRIMARY KEY, -- The gateway's name
|
||||
lat FLOAT, -- Latitude component of the claimed GPS co-ordinates of the gateway
|
||||
long FLOAT -- Longitude component of the claimed GPS co-ordinates of the gateway
|
||||
altitude FLOAT -- Claimed alitude of the gateway
|
||||
|
|
Loading…
Reference in a new issue