From 4d9c74335d49474ab03160e4819077373aee12e0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 17 Jun 2015 21:39:28 +0200 Subject: [PATCH] Add forgotten file --- src/sql/upgrade-33.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/sql/upgrade-33.sql diff --git a/src/sql/upgrade-33.sql b/src/sql/upgrade-33.sql new file mode 100644 index 00000000..62f4a49f --- /dev/null +++ b/src/sql/upgrade-33.sql @@ -0,0 +1,7 @@ +create table FailedPaths ( + path text primary key not null +); + +create rule IdempotentInsert as on insert to FailedPaths + where exists (select 1 from FailedPaths where path = new.path) + do instead nothing;