mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 03:48:39 +00:00
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
import { PrismaClient } from '@prisma/client';
|
|
|
|
import { refreshPrompts } from './utils/prompts';
|
|
|
|
export class UpdatePrompts1716451792364 {
|
|
// do the migration
|
|
static async up(db: PrismaClient) {
|
|
await refreshPrompts(db);
|
|
}
|
|
|
|
// revert the migration
|
|
static async down(_db: PrismaClient) {}
|
|
}
|