Files
Mycontent/soul-api/scripts/add_preview_percent.sql

4 lines
228 B
SQL
Raw 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.

-- 文章级未解锁预览百分比chapters.preview_percent
-- 空或0则使用全局 unpaid_preview_percent
ALTER TABLE chapters ADD COLUMN preview_percent INT DEFAULT NULL COMMENT '未解锁显示前N%,空则用全局';