diff options
author | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-10 21:30:46 +0200 |
---|---|---|
committer | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-10 21:30:46 +0200 |
commit | 7d36d3d62c856c23a9f45624d7ed26d8c5ff7dbc (patch) | |
tree | 5ca82c4b18cd256cbf6eeb278668a1520a6e2fc8 /util/src/entities/TeamMember.ts | |
parent | Change enums to numbers (diff) | |
download | server-7d36d3d62c856c23a9f45624d7ed26d8c5ff7dbc.tar.xz |
Put local types back
Diffstat (limited to 'util/src/entities/TeamMember.ts')
-rw-r--r-- | util/src/entities/TeamMember.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/TeamMember.ts b/util/src/entities/TeamMember.ts index 5642a211..b726e1e8 100644 --- a/util/src/entities/TeamMember.ts +++ b/util/src/entities/TeamMember.ts @@ -9,8 +9,8 @@ export enum TeamMemberState { @Entity("team_members") export class TeamMember extends BaseClass { - @Column() - membership_state: number; + @Column({ type: "int" }) + membership_state: TeamMemberState; @Column({ type: "simple-array" }) permissions: string[]; |