all repos

onasty @ a2448ac60de5edfe7aac89ddbcf47901d19ac3ed

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)