mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 18:40:52 +08:00
1.6 KiB
1.6 KiB
V2board 1.7.3 Migration Guide
This guide explains how to migrate from V2board version 1.7.3 to Xboard.
1. Database Changes Overview
-
v2_stat_ordertable renamed tov2_stat:order_amount→order_totalcommission_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)
-
New tables added:
v2_logv2_server_hysteriav2_server_vless
2. Prerequisites
⚠️ Please complete the basic Xboard installation first (SQLite not supported):
3. Migration Steps
Docker Environment
# 1. Stop services
docker compose down
# 2. Clear database
docker compose run -it --rm web php artisan db:wipe
# 3. Import old database (Important)
# Please manually import the V2board 1.7.3 database
# 4. Execute migration
docker compose run -it --rm web php artisan migratefromv2b 1.7.3
aaPanel Environment
# 1. Clear database
php artisan db:wipe
# 2. Import old database (Important)
# Please manually import the V2board 1.7.3 database
# 3. Execute migration
php artisan migratefromv2b 1.7.3
4. Configuration Migration
After completing the data migration, you need to migrate the configuration file: