From 1298a6fbbcc03f381ee6611781bcb069e40be8e0 Mon Sep 17 00:00:00 2001 From: xboard Date: Sat, 18 Jan 2025 20:23:46 +0800 Subject: [PATCH] fix: migrate command again --- app/Console/Commands/MigrateFromV2b.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/MigrateFromV2b.php b/app/Console/Commands/MigrateFromV2b.php index 8d78743..ace9c85 100644 --- a/app/Console/Commands/MigrateFromV2b.php +++ b/app/Console/Commands/MigrateFromV2b.php @@ -54,9 +54,10 @@ class MigrateFromV2b extends Command '1.7.3' => [ 'ALTER TABLE `v2_stat_order` RENAME TO `v2_stat`;', "ALTER TABLE `v2_stat` CHANGE COLUMN order_amount paid_total INT COMMENT '订单合计';", + "ALTER TABLE `v2_stat` CHANGE COLUMN order_count paid_count INT COMMENT '邀请佣金';", "ALTER TABLE `v2_stat` CHANGE COLUMN commission_amount commission_total INT COMMENT '佣金合计';", "ALTER TABLE `v2_stat` - ADD COLUMN paid_count INT NULL, + ADD COLUMN order_count INT NULL, ADD COLUMN order_total INT NULL, ADD COLUMN register_count INT NULL, ADD COLUMN invite_count INT NULL,