summary refs log tree commit diff
path: root/src/util/entities/SecurityKey.ts
diff options
context:
space:
mode:
authorTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-18 17:58:24 +0200
committerTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-18 17:58:24 +0200
commitdfbbef3637af1e3777c200d0c2b05757404dd2f5 (patch)
treea122486060968de416bc7c08f65976872a727c69 /src/util/entities/SecurityKey.ts
parentRun prettier for @Entity() (diff)
downloadserver-ts-dfbbef3637af1e3777c200d0c2b05757404dd2f5.tar.xz
"engine" const value shared
Diffstat (limited to 'src/util/entities/SecurityKey.ts')
-rw-r--r--src/util/entities/SecurityKey.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/entities/SecurityKey.ts b/src/util/entities/SecurityKey.ts

index f0b156c92..efe46c81f 100644 --- a/src/util/entities/SecurityKey.ts +++ b/src/util/entities/SecurityKey.ts
@@ -19,10 +19,11 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; import { BaseClass } from "./BaseClass"; import { User } from "./User"; +import { dbEngine } from "../util/Database"; @Entity({ name: "security_keys", - engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci", + engine: dbEngine, }) export class SecurityKey extends BaseClass { @Column({ nullable: true })