diff options
author | Xenorio <realxenorio@gmail.com> | 2022-03-08 19:06:58 +0100 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-03-08 22:42:40 +0300 |
commit | 08cef8b7529bdbd75d2f598f8c5ae93549cd0373 (patch) | |
tree | bee6dcb3dc004e8f452c8bf9cccdc925309f6c1f /util/src/entities/Member.ts | |
parent | Temporary notes fix (diff) | |
download | server-08cef8b7529bdbd75d2f598f8c5ae93549cd0373.tar.xz |
Change premium_since to bigint
Diffstat (limited to '')
-rw-r--r-- | util/src/entities/Member.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index b7406881..a246b891 100644 --- a/util/src/entities/Member.ts +++ b/util/src/entities/Member.ts @@ -85,7 +85,7 @@ export class Member extends BaseClassWithoutId { @Column() joined_at: Date; - @Column({ nullable: true }) + @Column({ type: "bigint", nullable: true }) premium_since?: number; @Column() @@ -245,7 +245,7 @@ export class Member extends BaseClassWithoutId { nick: undefined, roles: [guild_id], // @everyone role joined_at: new Date(), - premium_since: new Date(), + premium_since: (new Date()).getTime(), deaf: false, mute: false, pending: false, |