diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:30:04 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:30:04 +0200 |
commit | b4b8d1d8df3bf8263116310273c7f7ba65557806 (patch) | |
tree | 218dc458f44ba5d532b21a8dbe649e5c444e9b09 /util/src/entities/Channel.ts | |
parent | :sparkles: update util (diff) | |
download | server-b4b8d1d8df3bf8263116310273c7f7ba65557806.tar.xz |
:sparkles: typeorm gateway
Diffstat (limited to '')
-rw-r--r-- | util/src/entities/Channel.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts index d02cedb4..4900f485 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts @@ -25,6 +25,7 @@ export class Channel extends BaseClass { @Column({ type: "simple-enum", enum: ChannelType }) type: ChannelType; + @Column("simple-array") @RelationId((channel: Channel) => channel.recipients) recipient_ids: string[]; |