Options
All
  • Public
  • Public/Protected
  • All
Menu

Generates a new migration file with sql needs to be executed to update schema.

Hierarchy

  • MigrationGenerateCommand

Index

Properties

command

command: string = "migration:generate"

describe

describe: string = "Generates a new migration file with sql needs to be executed to update schema."

Methods

builder

  • builder(yargs: any): any

handler

  • handler(argv: any): Promise<void>

Static Protected getTemplate

  • getTemplate(name: string, timestamp: number, upSqls: string[], downSqls: string[]): string

Generated using TypeDoc