Postgres module

migrations_path

procedure · 1 overloadsince 0.27.0Source

The project's migrations folder, schema file and query cache, from the module parameters MIGRATIONS, SCHEMA and QUERY_CACHE (paths relative to the project root).

migrations_path :: (root: string) -> string

The project's migrations folder, schema file and query cache, from the module parameters MIGRATIONS, SCHEMA and QUERY_CACHE (paths relative to the project root).

Parameters

root: string
the project root, as find_project_root returns it.

Returns

string

See also