This commit is contained in:
ctwj
2025-08-18 23:01:48 +08:00
parent 841eb05f68
commit aa7d6ea2fe
2 changed files with 3 additions and 88 deletions

3
migrations/v1.x.x.sql Normal file
View File

@@ -0,0 +1,3 @@
-- 添加文件哈希字段
ALTER TABLE files ADD COLUMN file_hash VARCHAR(64) COMMENT '文件哈希值';
CREATE UNIQUE INDEX idx_files_hash ON files(file_hash);