Skip to main content
Module

x/typeorm/src/index.ts>Migration

Forked from https://github.com/typeorm/typeorm
Latest
class Migration
import { Migration } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Represents entity of the migration in the database.

Constructors

new
Migration(
id: number | undefined,
timestamp: number,
name: string,
instance?: MigrationInterface,
)

Properties

id: number | undefined

Migration id. Indicates order of the executed migrations.

optional
instance: MigrationInterface

Migration instance that needs to be run.

name: string

Name of the migration (class name).

timestamp: number

Timestamp of the migration.