forked from lix-project/hydra
Add forgotten file
This commit is contained in:
parent
ce9e859a9c
commit
4d9c74335d
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;
|
Loading…
Reference in a new issue