@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
12 lines • 399 B
TypeScript
/**
* Ensures that all shards in the range exist on the DSN, then runs a shell
* script (presumably DB migration), and then optionally activates the shards.
*/
export declare function allocate({ dsns, from, to, migrateCmd, activate, }: {
dsns: string[];
from: number;
to: number;
migrateCmd: string;
activate: boolean;
}): Promise<void>;
//# sourceMappingURL=allocate.d.ts.map