mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -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() {
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user