Update Docker commands for V2board Dev migration
This commit is contained in:
parent
449ccc3a1a
commit
d22a12cb34
@ -33,13 +33,13 @@ This guide explains how to migrate from V2board Dev version (2023/10/27) to Xboa
|
|||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
# 2. Clear database
|
# 2. Clear database
|
||||||
docker compose run -it --rm web php artisan db:wipe
|
docker compose run -it --rm xboard php artisan db:wipe
|
||||||
|
|
||||||
# 3. Import old database (Important)
|
# 3. Import old database (Important)
|
||||||
# Please manually import the V2board Dev database
|
# Please manually import the V2board Dev database
|
||||||
|
|
||||||
# 4. Execute migration
|
# 4. Execute migration
|
||||||
docker compose run -it --rm web php artisan migratefromv2b dev231027
|
docker compose run -it --rm xboard php artisan migratefromv2b dev231027
|
||||||
```
|
```
|
||||||
|
|
||||||
#### aaPanel Environment
|
#### aaPanel Environment
|
||||||
@ -58,4 +58,4 @@ php artisan migratefromv2b dev231027
|
|||||||
### 4. Configuration Migration
|
### 4. Configuration Migration
|
||||||
|
|
||||||
After completing the data migration, you need to migrate the configuration file:
|
After completing the data migration, you need to migrate the configuration file:
|
||||||
- [Configuration Migration Guide](./config.md)
|
- [Configuration Migration Guide](./config.md)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user