fix: 数据库加tags列迁移脚本

This commit is contained in:
mediabot-pt
2026-07-05 21:36:30 +08:00
parent e64623fbc3
commit 9eb45e1707

View File

@@ -1,4 +1,7 @@
-- PAR v2 新增表
-- PAR v2 新增表 + 字段
-- 站点标签
ALTER TABLE sites ADD COLUMN tags JSON NULL COMMENT '标签列表' AFTER description;
-- 站点页面配置(mediabot 页面入口)
CREATE TABLE IF NOT EXISTS site_pages (
id BIGINT AUTO_INCREMENT PRIMARY KEY,