fix(server): dropGroupマイグレーションが通るように (#9961)

This commit is contained in:
tamaina 2023-02-16 22:07:34 +09:00 committed by GitHub
parent ef7ad05c0b
commit 839a626716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 13 deletions

View file

@ -202,7 +202,11 @@ export class UserProfile {
public mutedInstances: string[];
@Column('enum', {
enum: notificationTypes,
enum: [
...notificationTypes,
// マイグレーションで削除が困難なので古いenumは残しておく
'groupInvited',
],
array: true,
default: [],
})