mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
docs: 补充迁移文档中缺少的步骤
This commit is contained in:
parent
e9664e294b
commit
7797bd2a9b
@ -34,7 +34,10 @@ docker compose down
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan db:wipe
|
||||
```
|
||||
3. 执行迁移命令
|
||||
3. 导入旧数据库<span style="color:red">(重要)</span>
|
||||
>导入你1.7.3 v2board的数据库到当前数据库当中
|
||||
|
||||
4. 执行迁移命令
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan migratefromv2b 1.7.3
|
||||
```
|
||||
@ -43,7 +46,10 @@ docker compose run -it --rm xboard php artisan migratefromv2b 1.7.3
|
||||
```
|
||||
php artisan db:wipe
|
||||
```
|
||||
2. 执行迁移命令
|
||||
2. 导入导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你1.7.3 v2board的数据库到当前数据库当中
|
||||
|
||||
3. 执行迁移命令
|
||||
```
|
||||
php artisan migratefromv2b 1.7.3
|
||||
```
|
||||
|
@ -23,7 +23,10 @@ docker compose down
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan db:wipe
|
||||
```
|
||||
3. 执行迁移命令
|
||||
3. 导入旧数据库<span style="color:red">(重要)</span>
|
||||
>导入你1.7.4 v2board的数据库到当前项目数据库当中
|
||||
|
||||
4. 执行迁移命令
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan migratefromv2b 1.7.4
|
||||
```
|
||||
@ -32,7 +35,10 @@ docker compose run -it --rm xboard php artisan migratefromv2b 1.7.4
|
||||
```
|
||||
php artisan db:wipe
|
||||
```
|
||||
2. 执行迁移命令
|
||||
2. 导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你1.7.4 v2board的数据库到当前项目数据库当中
|
||||
|
||||
3. 执行迁移命令
|
||||
```
|
||||
php artisan migratefromv2b 1.7.4
|
||||
```
|
||||
|
@ -31,7 +31,10 @@ docker compose down
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan db:wipe
|
||||
```
|
||||
3. 执行迁移命令
|
||||
3. 导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你dev v2board的数据库到当前数据库当中
|
||||
|
||||
4. 执行迁移命令
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan migratefromv2b dev231027
|
||||
```
|
||||
@ -40,7 +43,10 @@ docker compose run -it --rm xboard php artisan migratefromv2b dev231027
|
||||
```
|
||||
php artisan db:wipe
|
||||
```
|
||||
2. 执行迁移命令
|
||||
2. 导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你dev v2board的数据库到当前数据库当中
|
||||
|
||||
3. 执行迁移命令
|
||||
```
|
||||
php artisan migratefromv2b dev231027
|
||||
```
|
||||
|
@ -37,7 +37,10 @@ docker compose down
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan db:wipe
|
||||
```
|
||||
3. 执行迁移命令
|
||||
3. 导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你wyx2685 v2board的数据库到当前数据库当中
|
||||
|
||||
4. 执行迁移命令
|
||||
```
|
||||
docker compose run -it --rm xboard php artisan migratefromv2b wyx2685
|
||||
```
|
||||
@ -46,7 +49,10 @@ docker compose run -it --rm xboard php artisan migratefromv2b wyx2685
|
||||
```
|
||||
php artisan db:wipe
|
||||
```
|
||||
2. 执行迁移命令
|
||||
2. 导入旧数据库<span style="color:red">(重要)</span>数据库
|
||||
>导入你wyx2685 v2board的数据库到当前数据库当中
|
||||
|
||||
3. 执行迁移命令
|
||||
```
|
||||
php artisan migratefromv2b wyx2685
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user