mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 17:29:05 +01:00
Update note-reaction.ts
This commit is contained in:
parent
cbc27be378
commit
ffcb6aacf5
@ -7,6 +7,8 @@ import Reaction from './note-reaction';
|
||||
import { pack as packUser } from './user';
|
||||
|
||||
const NoteReaction = db.get<INoteReaction>('noteReactions');
|
||||
NoteReaction.createIndex('noteId');
|
||||
NoteReaction.createIndex('userId');
|
||||
NoteReaction.createIndex(['userId', 'noteId'], { unique: true });
|
||||
export default NoteReaction;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user