Migrator
createMigration()
Signature
Section titled “Signature”createMigration() — returns string
Available in: migrator
Category: General Functions
Description
Section titled “Description”Creates a migration file. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
migrationName | string | yes | — | |
templateName | string | no | — | |
migrationPrefix | string | no | timestamp |