summary refs log tree commit diff
path: root/src/util/entities
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-07 19:41:00 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-07 19:41:00 +1000
commitefd2318959fdd73de4ae541212f8e4861c0671f0 (patch)
tree1768e07057664dccb0322e2283ef668752ccb3db /src/util/entities
parentallow bot/bearer tokens through Authorization header (diff)
downloadserver-efd2318959fdd73de4ae541212f8e4861c0671f0.tar.xz
set default role flags to 0
Diffstat (limited to 'src/util/entities')
-rw-r--r--src/util/entities/Role.ts2
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;
 }