@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
13 lines • 446 B
TypeScript
/**
* Moves or copies a schema from one master DB to another.
*/
export declare function move({ schema, fromDsn, toDsn, commitAction, deactivateSQL, maxReplicationLagSec, wait, }: {
schema: string;
fromDsn: string;
toDsn: string;
commitAction: "deactivate-activate" | "rename-to-new" | null;
deactivateSQL?: string;
maxReplicationLagSec?: number;
wait?: boolean;
}): Promise<void>;
//# sourceMappingURL=move.d.ts.map