fix
This commit is contained in:
17
deploy/sql/feature_whitelist_price_migration.sql
Normal file
17
deploy/sql/feature_whitelist_price_migration.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
-- ============================================
|
||||
-- Feature表 - 添加白名单屏蔽价格字段
|
||||
-- ============================================
|
||||
-- 说明:为 feature 表添加白名单屏蔽价格字段
|
||||
-- 执行时间:2024-XX-XX
|
||||
-- ============================================
|
||||
|
||||
-- 添加白名单屏蔽价格字段
|
||||
ALTER TABLE `feature`
|
||||
ADD COLUMN `whitelist_price` decimal(10, 2) DEFAULT 0.00 COMMENT '白名单屏蔽价格(单位:元)' AFTER `name`;
|
||||
|
||||
-- ============================================
|
||||
-- 说明:
|
||||
-- 1. whitelist_price 默认值为 0.00,表示该feature不支持白名单屏蔽
|
||||
-- 2. 如果 whitelist_price > 0,表示该feature可以加入白名单,价格为 whitelist_price
|
||||
-- 3. 后台可以在"功能管理"页面配置每个feature的屏蔽价格
|
||||
-- ============================================
|
||||
Reference in New Issue
Block a user