Add migrations (#923)

* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
This commit is contained in:
Madeline
2023-01-05 17:04:15 +11:00
committed by GitHub
parent 5ef4b80fc5
commit e42eaeee8d
10 changed files with 893 additions and 60 deletions
+7 -6
View File
@@ -1,19 +1,23 @@
export * from "./Application";
export * from "./Attachment";
export * from "./AuditLog";
export * from "./BackupCodes";
export * from "./Ban";
export * from "./BaseClass";
export * from "./Categories";
export * from "./ClientRelease";
export * from "./Channel";
export * from "./Config";
export * from "./ConnectedAccount";
export * from "./EmbedCache";
export * from "./Emoji";
export * from "./Encryption";
export * from "./Guild";
export * from "./Invite";
export * from "./Member";
export * from "./Message";
export * from "./Migration";
export * from "./Note";
export * from "./RateLimit";
export * from "./ReadState";
export * from "./Recipient";
@@ -26,10 +30,7 @@ export * from "./Team";
export * from "./TeamMember";
export * from "./Template";
export * from "./User";
export * from "./VoiceState";
export * from "./Webhook";
export * from "./ClientRelease";
export * from "./BackupCodes";
export * from "./Note";
export * from "./UserSettings";
export * from "./ValidRegistrationTokens";
export * from "./ValidRegistrationTokens";
export * from "./VoiceState";
export * from "./Webhook";