chore: 清理敏感与开发文档,仅同步代码
- 永久忽略并从仓库移除 开发文档/ - 移除并忽略 .env 与小程序私有配置 - 同步小程序/管理端/API与脚本改动 Made-with: Cursor
This commit is contained in:
4
soul-api/scripts/add-chapters-preview-percent.sql
Normal file
4
soul-api/scripts/add-chapters-preview-percent.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- 为 chapters 表添加 preview_percent 列(章节级预览比例,NULL 表示使用全局 unpaid_preview_percent)
|
||||
-- 执行: mysql -u user -p db < soul-api/scripts/add-chapters-preview-percent.sql
|
||||
|
||||
ALTER TABLE chapters ADD COLUMN IF NOT EXISTS preview_percent INT NULL COMMENT '章节级预览比例(%),NULL 表示使用全局设置' AFTER hot_score;
|
||||
Reference in New Issue
Block a user