mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 04:36:13 +08:00
657a5250ad
fix AFF-878 fix AFF-852 (maybe)
14 lines
305 B
TypeScript
14 lines
305 B
TypeScript
import { PrismaClient } from '@prisma/client';
|
|
|
|
import { refreshPrompts } from './utils/prompts';
|
|
|
|
export class UpdatePrompt1713522040090 {
|
|
// do the migration
|
|
static async up(db: PrismaClient) {
|
|
await refreshPrompts(db);
|
|
}
|
|
|
|
// revert the migration
|
|
static async down(_db: PrismaClient) {}
|
|
}
|