mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 03:15:04 +08:00
add: sql
This commit is contained in:
3
migrations/v1.x.x.sql
Normal file
3
migrations/v1.x.x.sql
Normal 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);
|
||||
Reference in New Issue
Block a user