summary refs log tree commit diff
path: root/src/util/entities/BaseClass.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 17:04:15 +1100
committerGitHub <noreply@github.com>2023-01-05 17:04:15 +1100
commite42eaeee8d6310c81de2e90280afe99f8e8674aa (patch)
treedb47e73433d38898b705e3d7e5fddc4e87a27f3d /src/util/entities/BaseClass.ts
parentMerge pull request #922 from MaddyUnderStars/maddy/bodyParserPatch (diff)
downloadserver-e42eaeee8d6310c81de2e90280afe99f8e8674aa.tar.xz
Add migrations (#923)
* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
Diffstat (limited to '')
-rw-r--r--src/util/entities/BaseClass.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/entities/BaseClass.ts b/src/util/entities/BaseClass.ts

index 025c747b..790aee33 100644 --- a/src/util/entities/BaseClass.ts +++ b/src/util/entities/BaseClass.ts
@@ -1,4 +1,3 @@ -import "reflect-metadata"; import { BaseEntity, BeforeInsert, @@ -8,9 +7,8 @@ import { PrimaryColumn, } from "typeorm"; import { Snowflake } from "../util/Snowflake"; -import "missing-native-js-functions"; -import { getDatabase } from ".."; -import { OrmUtils } from "@fosscord/util"; +import { getDatabase } from "../util/Database"; +import { OrmUtils } from "../imports/OrmUtils"; export class BaseClassWithoutId extends BaseEntity { private get construct(): any {