diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 21:54:20 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 22:14:12 +1100 |
commit | fe50800613611f6552740cbd68e3b0db56690d3e (patch) | |
tree | a8700696a851c0ab7115f593e740a0adf524b9d9 /src/util/entities | |
parent | Refactored testclient (diff) | |
download | server-fe50800613611f6552740cbd68e3b0db56690d3e.tar.xz |
Move to migrations. Use `npm run generate:db` for first database generation.
Diffstat (limited to 'src/util/entities')
-rw-r--r-- | src/util/entities/BaseClass.ts | 1 | ||||
-rw-r--r-- | src/util/entities/Config.ts | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/util/entities/BaseClass.ts b/src/util/entities/BaseClass.ts index cb97f513..025c747b 100644 --- a/src/util/entities/BaseClass.ts +++ b/src/util/entities/BaseClass.ts @@ -3,7 +3,6 @@ import { BaseEntity, BeforeInsert, BeforeUpdate, - DeepPartial, FindOptionsWhere, ObjectIdColumn, PrimaryColumn, diff --git a/src/util/entities/Config.ts b/src/util/entities/Config.ts index ff42b412..646737a0 100644 --- a/src/util/entities/Config.ts +++ b/src/util/entities/Config.ts @@ -2,9 +2,7 @@ import { Column, Entity } from "typeorm"; import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass"; import crypto from "crypto"; import { Snowflake } from "../util/Snowflake"; -import { SessionsReplace } from ".."; import { hostname } from "os"; -import { Rights } from "../util/Rights"; @Entity("config") export class ConfigEntity extends BaseClassWithoutId { |