all repos

onasty @ c24198aff6c81e08e99ba6c8cda4d671c09338bc

a one-time notes service

onasty/migrations/20250530135721_note_author_add_unique_constraint.up.sql(view raw)

1
2
ALTER TABLE notes_authors
    ADD CONSTRAINT notes_authors_pair_user UNIQUE (note_id, user_id)