prisma-migration-migrator
Version:
Replace Prisma as the migration engine with Knex, while keeping it as ORM
10 lines (9 loc) • 395 B
TypeScript
import type { MigratorParameters } from './types.js';
export declare function getBaseDirectory(): string;
/**
* Gets the base directory where Prisma migrations can be found, and the directory where Knex migrations will be written
*/
export declare function resolveMigrationDirectories(params?: MigratorParameters): Promise<{
prismaMigrationsDir: string;
knexMigrationsDir: string;
}>;