From 596ce03be7e8f9bcdcae826f62e49db15599b2b8 Mon Sep 17 00:00:00 2001 From: qian Date: Thu, 28 May 2026 22:10:25 +0800 Subject: [PATCH] =?UTF-8?q?chore(sql):=E8=B0=83=E6=95=B4=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=BA=A7=E5=88=AB=E7=9A=84=E5=85=85=E5=80=BC?= =?UTF-8?q?=E9=A2=9D=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrations/000005_v0_1_5_version.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/migrations/000005_v0_1_5_version.sql b/migrations/000005_v0_1_5_version.sql index 51b5c5d..f126e8a 100644 --- a/migrations/000005_v0_1_5_version.sql +++ b/migrations/000005_v0_1_5_version.sql @@ -32,10 +32,10 @@ COMMENT ON COLUMN tnt_tenant_level_configs.sort_order IS '排序权重'; -- 2. 插入默认等级数据 INSERT INTO tnt_tenant_level_configs (level, name, cumulative_recharge_threshold, max_members, max_concurrency, price_multiplier, sort_order) VALUES (1, 'LV1', 0, 5, 10, 1.0000, 1), -(2, 'LV2', 100, 10, 20, 0.9500, 2), -(3, 'LV3', 500, 20, 50, 0.9000, 3), -(4, 'LV4', 2000, 50, 100, 0.8500, 4), -(5, 'LV5', 10000, 0, 0, 0.8000, 5); +(2, 'LV2', 1000, 10, 20, 0.9500, 2), +(3, 'LV3', 10000, 20, 50, 0.9000, 3), +(4, 'LV4', 100000, 50, 100, 0.8500, 4), +(5, 'LV5', 500000, 0, 0, 0.8000, 5); -- 3. bil_wallets 添加累计充值字段 ALTER TABLE bil_wallets ADD COLUMN cumulative_recharge NUMERIC(20,10) DEFAULT 0 NOT NULL;