all repos

onasty @ d4ca41d291d870555769c5e7c220f3e0e5c6ac8e

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)