repo: add some sql for events
All checks were successful
Build and test / Build (push) Successful in 2m29s

This commit is contained in:
Muyao CHEN
2024-10-18 21:15:27 +02:00
parent 39eaae46d8
commit dde4eb337c
7 changed files with 325 additions and 2 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE "participation"
ADD CONSTRAINT unique_user_event UNIQUE ("user_id", "event_id");