15ae0f521e
* New database table holding monitor run info * SQL interface for new table * Updated uptime calculation to instead rely on number of monitor test runs
7 lines
287 B
SQL
7 lines
287 B
SQL
-- keeping track of all monitor runs that have happened will help to
|
|
-- solve an issue of mixnode being online only for a single check and yet being assigned 100% uptime
|
|
CREATE TABLE monitor_run
|
|
(
|
|
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
|
timestamp INTEGER NOT NULL
|
|
) |