Browse modulesPersistenceFunctions
Function: findMigrationsDir()
function findMigrationsDir(importMetaUrl: string): string;Defined in: server/persistence/utils/prisma-paths.ts:55
Resolve the absolute path to the migrations/ directory relative to the
calling module. Pass import.meta.url from the consuming file.
Parameters
| Parameter | Type |
|---|---|
importMetaUrl | string |
Returns
string