actions in device_skip table are now an array/set

This commit is contained in:
Oliver Gorwits
2017-05-23 11:34:27 +01:00
parent 5e126eef07
commit b55854e91d
4 changed files with 112 additions and 66 deletions

View File

@@ -3,10 +3,10 @@ BEGIN;
CREATE TABLE "device_skip" (
"backend" text NOT NULL,
"device" inet NOT NULL,
"action" text NOT NULL,
"actionset" text[] DEFAULT '{}',
"deferrals" integer DEFAULT 0,
"skipover" boolean DEFAULT false,
PRIMARY KEY ("backend", "device", "action")
"skipover" boolean DEFAULT false,
PRIMARY KEY ("backend", "device")
);
COMMIT;