fix: missing feature upsert (#6585)

This commit is contained in:
darkskygit 2024-04-17 02:01:01 +00:00
parent e1c292b8b5
commit 83d8587a45
No known key found for this signature in database
GPG Key ID: 97B7D036B1566E9D

View File

@ -0,0 +1,14 @@
import { PrismaClient } from '@prisma/client';
import { FeatureType } from '../../core/features';
import { upsertLatestFeatureVersion } from './utils/user-features';
export class UnlimitedCopilot1713285638427 {
// do the migration
static async up(db: PrismaClient) {
await upsertLatestFeatureVersion(db, FeatureType.UnlimitedCopilot);
}
// revert the migration
static async down(_db: PrismaClient) {}
}