mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 22:59:56 +08:00
71a5be5385
fix AFF-921
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
import { PrismaClient } from '@prisma/client';
|
|
|
|
import { refreshPrompts } from './utils/prompts';
|
|
|
|
export class UpdatePrompts1713777617122 {
|
|
// do the migration
|
|
static async up(db: PrismaClient) {
|
|
await refreshPrompts(db);
|
|
}
|
|
|
|
// revert the migration
|
|
static async down(_db: PrismaClient) {}
|
|
}
|