node-flyway
Version:
Apply version control to databases from within a Node.js application.
16 lines (15 loc) • 750 B
TypeScript
import { FlywayVersion } from "../../internal/flyway-version";
import { FlywayCli } from "../flyway-cli";
import { FlywayCliProvider } from "../flyway-cli-provider";
export declare class FileSystemFlywayCliProvider extends FlywayCliProvider {
private flywayCliDirectory;
protected static logger: import("../../utility/logger").Logger;
constructor(flywayCliDirectory: string);
/**
* Checks whether the provided directory is a matching Flyway CLI.
* Otherwise, checks nested directories to find a suitable Flyway CLI candidate.
* If no suitable CLI candidates are found, throws an exception.
*/
getFlywayCli(flywayVersion: FlywayVersion): Promise<FlywayCli | undefined>;
private flywayCliVersionsMatch;
}