mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
4ea31cbb35
fix AFF-1021
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
import { PrismaClient } from '@prisma/client';
|
|
|
|
import { refreshPrompts } from './utils/prompts';
|
|
|
|
export class UpdatePrompts1714992100105 {
|
|
// do the migration
|
|
static async up(db: PrismaClient) {
|
|
await refreshPrompts(db);
|
|
}
|
|
|
|
// revert the migration
|
|
static async down(_db: PrismaClient) {}
|
|
}
|