Return to v2.1 docs


Migrator General Functions string migrator

Creates a migration file. Whilst you can use this in your application, the recommended useage is via either the CLI or the provided GUI interface

Name Type Required Default Description
migrationName string Yes
templateName string No
migrationPrefix string No timestamp
// Create an empty migration file

// Or Create a migration file from the create-table template

Related Functions

General Functions