device_ignore table to track devices to skip in polling
This commit is contained in:
12
share/schema_versions/App-Netdisco-DB-41-42-PostgreSQL.sql
Normal file
12
share/schema_versions/App-Netdisco-DB-41-42-PostgreSQL.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE "device_ignore" (
|
||||
"backend" text NOT NULL,
|
||||
"device" inet NOT NULL,
|
||||
"action" text NOT NULL,
|
||||
"failures" integer DEFAULT 0,
|
||||
"ignore" boolean DEFAULT false,
|
||||
PRIMARY KEY ("backend", "device", "action")
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user