diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-10 16:07:01 +0200 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 23:48:17 +1100 |
commit | 39f4aa6b704e42830d3d56f3ae989e33c36db6be (patch) | |
tree | 08d70f2b324ff26508e0f9358e7e3776cccb51f7 /src/util | |
parent | Refactor applications (diff) | |
download | server-39f4aa6b704e42830d3d56f3ae989e33c36db6be.tar.xz |
Make teams nullable
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/entities/Application.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/entities/Application.ts b/src/util/entities/Application.ts index 861c5bdd..67475bdd 100644 --- a/src/util/entities/Application.ts +++ b/src/util/entities/Application.ts @@ -105,6 +105,7 @@ export class Application extends BaseClass { @JoinColumn({ name: "team_id" }) @ManyToOne(() => Team, { onDelete: "CASCADE", + nullable: true }) team?: Team; |