Files
ycc-proxy-server/deploy/sql/feature_whitelist_price_migration.sql
2026-01-12 16:43:08 +08:00

17 lines
834 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- ============================================
-- 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的屏蔽价格
-- ============================================