Skip to main content
Latest
method MigrationRunner.prototype.ensureMigrationDir
import { MigrationRunner } from "https://deno.land/x/cotton@v0.7.5/mod.ts";

Ensures that the migration directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Returns

Promise<void>