From def0eb38eb3f34d32b001bc5b479c865a0bf0c68 Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 1 Jun 2017 02:13:31 -0500 Subject: [PATCH] Update schema Add an enabled option --- Schema | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Schema b/Schema index 16b8d51..fc0d661 100644 --- a/Schema +++ b/Schema @@ -27,4 +27,5 @@ cols: id, api_id, time_sent, time_rcvd, latency, data time_sent - datetime, the unix timestamp the server sends the heartbeat ping (preferably kept in check with GPS or other high accuraacy RTC) time_rcvd - datetime, the unix timestamp the server receives the response latency - long, the number of ms between time_sent and time_rcvd - data - text json, data that the API sends to the device. This can be used to apply settings immedietly or trigger events in the device \ No newline at end of file + data - text json, data that the API sends to the device. This can be used to apply settings immedietly or trigger events in the device + enabled - Bool, whether or not it should send the heartbeat \ No newline at end of file