Skip to content

Migrator

getAvailableMigrations()

getAvailableMigrations() — returns array

Available in: migrator Category: General Functions

Searches db/migrate folder for migrations. Whilst you can use this in your application, the recommended usage is via either the CLI or the provided GUI interface

NameTypeRequiredDefaultDescription
pathstringno[runtime expression]Path to Migration Files: defaults to /app/migrator/migrations/