翻译文档

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
+33 -33
View File
@@ -1,63 +1,63 @@
# V2board 1.7.3 Migration Guide
# V2board 1.7.3 迁移指南
This guide explains how to migrate from V2board version 1.7.3 to Xboard.
本指南说明如何从 V2board 1.7.3 版本迁移到 Xboard
### 1. Database Changes Overview
### 1. 数据库变更概览
- `v2_stat_order` table renamed to `v2_stat`:
- `order_amount` `order_total`
- `commission_amount` `commission_total`
- New fields added:
- `paid_count` (integer, nullable)
- `paid_total` (integer, nullable)
- `register_count` (integer, nullable)
- `invite_count` (integer, nullable)
- `transfer_used_total` (string(32), nullable)
- `v2_stat_order` 表重命名为 `v2_stat`
- `order_amount` -> `order_total`
- `commission_amount` -> `commission_total`
- 新增字段:
- `paid_count`integer, nullable
- `paid_total`integer, nullable
- `register_count`integer, nullable
- `invite_count`integer, nullable
- `transfer_used_total`string(32), nullable
- New tables added:
- 新增数据表:
- `v2_log`
- `v2_server_hysteria`
- `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.3 database
# 3. 导入旧数据库(重要)
# 请手动导入 V2board 1.7.3 数据库
# 4. Execute migration
# 4. 执行迁移
docker compose run -it --rm web php artisan migratefromv2b 1.7.3
```
#### aaPanel Environment
#### aaPanel 环境
```bash
# 1. Clear database
# 1. 清空数据库
php artisan db:wipe
# 2. Import old database (Important)
# Please manually import the V2board 1.7.3 database
# 2. 导入旧数据库(重要)
# 请手动导入 V2board 1.7.3 数据库
# 3. Execute migration
# 3. 执行迁移
php artisan migratefromv2b 1.7.3
```
### 4. Configuration Migration
### 4. 配置迁移
After completing the data migration, you need to migrate the configuration file:
- [Configuration Migration Guide](./config.md)
数据迁移完成后,还需要迁移配置文件:
- [配置迁移指南](./config.md)