diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-07 19:41:00 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-07 19:41:00 +1000 |
commit | efd2318959fdd73de4ae541212f8e4861c0671f0 (patch) | |
tree | 1768e07057664dccb0322e2283ef668752ccb3db /src/util/entities | |
parent | allow bot/bearer tokens through Authorization header (diff) | |
download | server-efd2318959fdd73de4ae541212f8e4861c0671f0.tar.xz |
set default role flags to 0
Diffstat (limited to 'src/util/entities')
-rw-r--r-- | src/util/entities/Role.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts index 3ae5efc1..9a601f31 100644 --- a/src/util/entities/Role.ts +++ b/src/util/entities/Role.ts @@ -67,6 +67,6 @@ export class Role extends BaseClass { premium_subscriber?: boolean; }; - @Column() + @Column({ default: 0 }) flags: number; } |