aboutsummaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/nms.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/nms.sql b/sql/nms.sql
index acadcc5..3b2c029 100644
--- a/sql/nms.sql
+++ b/sql/nms.sql
@@ -606,6 +606,10 @@ CREATE TABLE uplinks (
ALTER TABLE public.uplinks OWNER TO nms;
+create table ping ( switch integer not null, updated timestamptz not null default current_timestamp, latency_ms float );
+create index updated_index on ping ( updated );
+alter table public.ping owner to nms;
+
--
-- Data for Name: ap_poll; Type: TABLE DATA; Schema: public; Owner: nms
--