Skip to content

Migrator

createMigration()

createMigration() — returns string

Available in: migrator Category: General Functions

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

NameTypeRequiredDefaultDescription
migrationNamestringyes
templateNamestringno
migrationPrefixstringnotimestamp