From 52964aed06c879ac31987e4c487de9c66292e0c2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 13 Feb 2021 23:57:02 +0100 Subject: :art: Channel + Member + Message + Role in separate collection --- src/models/Message.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/models/Message.ts') diff --git a/src/models/Message.ts b/src/models/Message.ts index 22569d8f..9b3602c4 100644 --- a/src/models/Message.ts +++ b/src/models/Message.ts @@ -3,6 +3,7 @@ import { ChannelType } from "./Channel"; export interface Message extends Document { id: bigint; + channel_id: bigint; author_id?: bigint; webhook_id?: bigint; application_id: bigint; @@ -188,6 +189,7 @@ const Embed = { export const MessageSchema = new Schema({ id: Types.Long, + channel_id: Types.Long, author_id: Types.Long, webhook_id: Types.Long, application_id: Types.Long, -- cgit 1.5.1