解决合并冲突

This commit is contained in:
2025-12-10 14:20:24 +08:00
parent e1385cb3e6
commit 18f6a845e6
804 changed files with 61881 additions and 13577 deletions

View File

@@ -0,0 +1,16 @@
-- 创建 __MigrationsHistory 表(迁移历史表)
CREATE TABLE __MigrationsHistory (
-- 迁移ID唯一标识一条迁移记录非空
MigrationId VARCHAR(150) NOT NULL,
-- 产品版本:记录迁移对应的框架/产品版本,非空
ProductVersion VARCHAR(32) NOT NULL,
-- 主键约束:确保 MigrationId 唯一(迁移记录不可重复)
CONSTRAINT pk___migrationshistory PRIMARY KEY (MigrationId)
);
-- 为表添加备注
COMMENT ON TABLE __MigrationsHistory IS '用于记录数据库迁移历史的表,跟踪每次迁移的执行情况';
-- 为字段添加备注
COMMENT ON COLUMN __MigrationsHistory.MigrationId IS '迁移操作的唯一标识符,用于区分不同的迁移脚本';
COMMENT ON COLUMN __MigrationsHistory.ProductVersion IS '执行迁移时使用的产品/框架版本,用于版本兼容性检查';