Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MigrationBuilder

Hierarchy

  • MigrationBuilder

Index

Methods

Methods

build

  • build(migrationsFolder: string, name?: string): Promise<unknown>
  • A function which will be called to create a new migration file.

    Parameters

    • migrationsFolder: string

      The folder to write the migration to

    • Optional name: string

      The name entered on the command line, if any, for the new migration

    Returns Promise<unknown>

Generated using TypeDoc