summary refs log tree commit diff
path: root/src/util/entities/Migration.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-20 03:27:03 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-20 03:27:03 +0200
commit04dea8d788acfaf485f4aa9ad255e39f6aac2a08 (patch)
tree2a61e45ef6f313012a585a0a80c1fa5bfe3ddae8 /src/util/entities/Migration.ts
parentFix merge conflicts (diff)
downloadserver-04dea8d788acfaf485f4aa9ad255e39f6aac2a08.tar.xz
prettier
Diffstat (limited to 'src/util/entities/Migration.ts')
-rw-r--r--src/util/entities/Migration.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/entities/Migration.ts b/src/util/entities/Migration.ts
index 3f39ae72..626ec429 100644
--- a/src/util/entities/Migration.ts
+++ b/src/util/entities/Migration.ts
@@ -1,9 +1,7 @@
 import { Column, Entity, ObjectIdColumn, PrimaryGeneratedColumn } from "typeorm";
 import { BaseClassWithoutId } from ".";
 
-export const PrimaryIdAutoGenerated = process.env.DATABASE?.startsWith("mongodb")
-	? ObjectIdColumn
-	: PrimaryGeneratedColumn;
+export const PrimaryIdAutoGenerated = process.env.DATABASE?.startsWith("mongodb") ? ObjectIdColumn : PrimaryGeneratedColumn;
 
 @Entity("migrations")
 export class Migration extends BaseClassWithoutId {