✨ typeorm gateway

This commit is contained in:
Flam3rboy
2021-08-29 00:30:04 +02:00
parent 766dcc24aa
commit 38162b1c20
6 changed files with 85 additions and 50 deletions
+1
View File
@@ -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[];