Make sure SQLite repos reflect the database template
This commit is contained in:
parent
489aac2263
commit
3123215f11
1 changed files with 2 additions and 2 deletions
|
@ -9,12 +9,12 @@ class RSSIRepo {
|
||||||
if(typeof this.query_insert == "undefined")
|
if(typeof this.query_insert == "undefined")
|
||||||
this.query_insert = this.db.prepare(`INSERT INTO rssis (
|
this.query_insert = this.db.prepare(`INSERT INTO rssis (
|
||||||
id,
|
id,
|
||||||
reading_id,
|
reading_id, gateway_id,
|
||||||
rssi, snr,
|
rssi, snr,
|
||||||
channel
|
channel
|
||||||
) VALUES (
|
) VALUES (
|
||||||
:id,
|
:id,
|
||||||
:reading_id,
|
:reading_id, :gateway_id
|
||||||
:rssi, :snr,
|
:rssi, :snr,
|
||||||
:channel
|
:channel
|
||||||
)`);
|
)`);
|
||||||
|
|
Loading…
Reference in a new issue