Skip to main content
Makenot
.
work
Discover
Use Cases
Docs
Fan+
Login
Join
max
/
makenotwork
main
tag: launch-2026-06-01
tag: magicmirror-v0.1.1
tag: magicmirror-v0.3.0
tag: mnw-cli-v0.1.2
tag: mnw-cli-v0.1.3
tag: mnw-cli-v0.1.4
tag: pom-v0.4.1
tag: pom-v0.4.2
tag: pom-v0.4.3
tag: pom-v0.4.4
tag: pom-v0.4.5
tag: wam-v0.3.0
tag: wam-v0.3.1
Files
Commits
Tags
Notes
Issues
makenotwork
/
server
/
migrations
/
107_pending_s3_deletions_unique.sql
260 B · 5 lines
History
Blame
Raw
1
--
Add unique constraint on pending_s3_deletions to prevent duplicate enqueue.
2
--
ON CONFLICT DO NOTHING makes this safe for concurrent insertions.
3
CREATE
UNIQUE INDEX
IF
NOT EXISTS idx_pending_s3_deletions_key_bucket
4
ON
pending_s3_deletions (s3_key, bucket);
5