all repos

onasty @ 1994b67e32437e92e474da9b4e4002c28a9bdcd2

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)