翻译文档

This commit is contained in:
yinjianm
2026-02-22 04:13:42 +08:00
parent 267aeec5ba
commit 2d14e22322
13 changed files with 683 additions and 687 deletions
+24 -24
View File
@@ -1,51 +1,51 @@
# V2board 1.7.4 Migration Guide
# V2board 1.7.4 迁移指南
This guide explains how to migrate from V2board version 1.7.4 to Xboard.
本指南说明如何从 V2board 1.7.4 版本迁移到 Xboard
### 1. Database Changes Overview
### 1. 数据库变更概览
- New table added:
- 新增数据表:
- `v2_server_vless`
### 2. Prerequisites
### 2. 前置条件
⚠️ Please complete the basic Xboard installation first (SQLite not supported):
- [Docker Compose Deployment](../installation/docker-compose.md)
- [aaPanel + Docker Deployment](../installation/aapanel-docker.md)
- [aaPanel Deployment](../installation/aapanel.md)
> 注意:请先完成 Xboard 基础安装(不支持 SQLite):
- [Docker Compose 部署](../installation/docker-compose.md)
- [aaPanel + Docker 部署](../installation/aapanel-docker.md)
- [aaPanel 部署](../installation/aapanel.md)
### 3. Migration Steps
### 3. 迁移步骤
#### Docker Environment
#### Docker 环境
```bash
# 1. Stop services
# 1. 停止服务
docker compose down
# 2. Clear database
# 2. 清空数据库
docker compose run -it --rm web php artisan db:wipe
# 3. Import old database (Important)
# Please manually import the V2board 1.7.4 database
# 3. 导入旧数据库(重要)
# 请手动导入 V2board 1.7.4 数据库
# 4. Execute migration
# 4. 执行迁移
docker compose run -it --rm web php artisan migratefromv2b 1.7.4
```
#### aaPanel Environment
#### aaPanel 环境
```bash
# 1. Clear database
# 1. 清空数据库
php artisan db:wipe
# 2. Import old database (Important)
# Please manually import the V2board 1.7.4 database
# 2. 导入旧数据库(重要)
# 请手动导入 V2board 1.7.4 数据库
# 3. Execute migration
# 3. 执行迁移
php artisan migratefromv2b 1.7.4
```
### 4. Configuration Migration
### 4. 配置迁移
After completing the data migration, you need to migrate the configuration file:
- [Configuration Migration Guide](./config.md)
数据迁移完成后,还需要迁移配置文件:
- [配置迁移指南](./config.md)