Skip to content

Commit 895d7d2

Browse files
authored
Document --isolated flag
Refs wintercms/winter#1226
1 parent b88234b commit 895d7d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

console/setup-maintenance.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ The `winter:update` command will request updates from the Winter gateway. It wil
2626
2727
## Run database migrations
2828

29-
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.
29+
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.
3030

3131
```bash
3232
php artisan winter:up
3333
```
3434

35+
>**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.
36+
3537
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.
3638

3739
```bash

0 commit comments

Comments
 (0)