Add forgotten file
This commit is contained in:
7
src/sql/upgrade-33.sql
Normal file
7
src/sql/upgrade-33.sql
Normal file
@ -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;
|
Reference in New Issue
Block a user