Make sure SQLite repos reflect the database template

This commit is contained in:
Starbeamrainbowlabs 2019-07-09 14:07:23 +01:00
parent 489aac2263
commit 3123215f11

View file

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