wip
This commit is contained in:
@@ -9,7 +9,8 @@ import { MiUser } from './User.js';
|
||||
import { MiNote } from './Note.js';
|
||||
|
||||
@Entity('note_reaction')
|
||||
@Index(['userId', 'noteId'], { unique: true })
|
||||
@Index(['userId', 'noteId'])
|
||||
@Index(['userId', 'noteId', 'reaction'], { unique: true })
|
||||
export class MiNoteReaction {
|
||||
@PrimaryColumn(id())
|
||||
public id: string;
|
||||
|
Reference in New Issue
Block a user