UNPKG

@clickup/pg-mig

Version:

PostgreSQL schema migration tool with microsharding and clustering support

27 lines (16 loc) 602 B
[**@clickup/pg-mig**](../README.md) *** [@clickup/pg-mig](../globals.md) / actionListDB # Function: actionListDB() > **actionListDB**(`_options`, `hostDests`): `Promise`\<`boolean`\> Defined in: src/actions/actionListDB.ts:14 Prints the list of migration versions applied in the database by querying mig_versions_const() on each schema. Groups schemas with identical version lists together for readability. ## Parameters | Parameter | Type | | ------ | ------ | | `_options` | [`MigrateOptions`](../interfaces/MigrateOptions.md) | | `hostDests` | `Dest`[] | ## Returns `Promise`\<`boolean`\>