chore(migration): 顺延分销迁移序号至 000066-000068,为 main 分支 000065 让路

This commit is contained in:
yml2213
2026-09-11 09:35:51 +08:00
parent 403d20cabd
commit fa49505239
4 changed files with 1 additions and 1 deletions
@@ -0,0 +1,17 @@
-- +goose Up
-- 私有文件上传归属:业务记录写入前,仅允许上传者预览自己的临时文件。
CREATE TABLE file_upload_owners (
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
user_id BIGINT UNSIGNED NOT NULL,
object_key VARCHAR(512) NOT NULL,
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id),
UNIQUE KEY uk_file_upload_owners_object_key (object_key),
KEY idx_file_upload_owners_user_id (user_id),
KEY idx_file_upload_owners_created_at (created_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='私有文件上传归属';
-- +goose Down
DROP TABLE IF EXISTS file_upload_owners;