fix: 恢复迁移文件到原始状态修复校验和错误
Migration files should never be modified after being applied. Reverted comment-only changes to fix checksum mismatch. 修复错误: migration 001_init.sql checksum mismatch 解决方案: 将迁移文件恢复到修改前的状态
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
-- TianShuAPI 初始化数据库迁移脚本
|
-- Sub2API 初始化数据库迁移脚本
|
||||||
-- PostgreSQL 15+
|
-- PostgreSQL 15+
|
||||||
|
|
||||||
-- 1. proxies 代理IP表(无外键依赖)
|
-- 1. proxies 代理IP表(无外键依赖)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- TianShuAPI 账号类型迁移脚本
|
-- Sub2API 账号类型迁移脚本
|
||||||
-- 将 'official' 类型账号迁移为 'oauth' 或 'setup-token'
|
-- 将 'official' 类型账号迁移为 'oauth' 或 'setup-token'
|
||||||
-- 根据 credentials->>'scope' 字段判断:
|
-- 根据 credentials->>'scope' 字段判断:
|
||||||
-- - 包含 'user:profile' 的是 'oauth' 类型
|
-- - 包含 'user:profile' 的是 'oauth' 类型
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- TianShuAPI 订阅功能迁移脚本
|
-- Sub2API 订阅功能迁移脚本
|
||||||
-- 添加订阅分组和用户订阅功能
|
-- 添加订阅分组和用户订阅功能
|
||||||
|
|
||||||
-- 1. 扩展 groups 表添加订阅相关字段
|
-- 1. 扩展 groups 表添加订阅相关字段
|
||||||
|
|||||||
Reference in New Issue
Block a user