Skip to main content
Module

x/typeorm/src/index.ts>Connection#runMigrations

Forked from https://github.com/typeorm/typeorm
Latest
method Connection.prototype.runMigrations
Re-export
import { Connection } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Runs all pending migrations. Can be used only after connection to the database is established.

Parameters

optional
options: { transaction?: "all" | "none" | "each"; }

Returns

Promise<Migration[]>