fix(notification): indexing to ssender and recipient id
This commit is contained in:
@ -10,8 +10,7 @@ import {
|
||||
|
||||
import { User } from "./users";
|
||||
|
||||
@Index("idx_notification_recipient_id", ["recipient_id"])
|
||||
@Index("idx_notification_sender_id", ["sender_id"])
|
||||
@Index(["sender", "recipient"])
|
||||
@Entity("notifications")
|
||||
export class Notification {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
|
||||
Reference in New Issue
Block a user