diff --git a/console/setup-maintenance.md b/console/setup-maintenance.md index da69f4ae..89c8ee55 100644 --- a/console/setup-maintenance.md +++ b/console/setup-maintenance.md @@ -26,12 +26,14 @@ The `winter:update` command will request updates from the Winter gateway. It wil ## Run database migrations -The `winter:up` command will perform a database migration, creating database tables and executing seed scripts, provided by the system and [plugin version history](../plugin/updates). The migration command can be run multiple times - it will only execute a migration or seed script once, which means only new changes are applied. +The `winter:up` (or `migrate`) command will perform a database migration, creating database tables and executing seed scripts, provided by the system and [plugin version history](../plugin/updates). The migration command can be run multiple times - it will only execute a migration or seed script once, which means only new changes are applied. ```bash php artisan winter:up ``` +>**NOTE:** The migration command supports the [`--isolated`](https://laravel.com/docs/11.x/artisan#isolatable-commands) flag for ensuring that only one instance of the command can be run at a time in a multi-server environment. + The inverse command `winter:down` will reverse all migrations, dropping database tables and deleting data. Care should be taken when using this command. The [plugin refresh command](../console/plugin-management#refresh-a-plugin) is a useful alternative for debugging a single plugin. ```bash