mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 22:11:35 +00:00
docs(adonis): add migration commands
This commit is contained in:
@@ -30,6 +30,17 @@ list:routes // List application routes
|
|||||||
make:command // Make a new ace command
|
make:command // Make a new ace command
|
||||||
make:controller // Make a new HTTP controller
|
make:controller // Make a new HTTP controller
|
||||||
make:middleware // Make a new middleware
|
make:middleware // Make a new middleware
|
||||||
|
make:migration // Make a new migration
|
||||||
make:provider // Make a new IoC container provider
|
make:provider // Make a new IoC container provider
|
||||||
make:validator // Make a new validator
|
make:validator // Make a new validator
|
||||||
make:view // Make a new view template
|
make:view // Make a new view template
|
||||||
|
|
||||||
|
// Migrations
|
||||||
|
|
||||||
|
make:migration // Create a new migration file.
|
||||||
|
migration:run // Run all pending migrations.
|
||||||
|
migration:rollback // Rollback last set of migrations.
|
||||||
|
migration:refresh // Rollback all migrations to the 0 batch then re-run them from the start.
|
||||||
|
migration:reset // Rollback all migrations to the 0 batch.
|
||||||
|
migration:status // Get the status of all the migrations.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user