blob: bef93a48fdc8ca9a9fcc3431a7404978053e66a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import {Migration, MigrationProvider} from 'kysely'
export class DbMigrationProvider implements MigrationProvider {
constructor(private migrations: Record<string, Migration>) {}
async getMigrations(): Promise<Record<string, Migration>> {
return this.migrations
}
}
|