fix(server): remove unused admin environment (#8378)

fix CLOUD-70
This commit is contained in:
forehalo
2024-09-25 02:45:28 +00:00
parent 2df2003bd7
commit cb4020569c
2 changed files with 2 additions and 8 deletions

View File

@@ -23,11 +23,7 @@ export class SelfHostAdmin1 {
}
// revert the migration
static async down(db: PrismaClient) {
await db.user.deleteMany({
where: {
email: process.env.AFFINE_ADMIN_EMAIL ?? 'admin@example.com',
},
});
static async down() {
//
}
}