commit code
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 33s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 33s
This commit is contained in:
@ -4,8 +4,8 @@ CREATE TABLE images (
|
||||
image_id VARCHAR(36) PRIMARY KEY DEFAULT gen_random_uuid()::varchar,
|
||||
|
||||
-- 存储元数据
|
||||
storage_key TEXT NOT NULL, -- 文件显示名称
|
||||
file_name TEXT NOT NULL, -- 文件存储名称,可以包含路径
|
||||
storage_key TEXT NOT NULL, -- 文件存储标识。 bucket/object_id
|
||||
file_name TEXT NOT NULL, -- 文件显示名称
|
||||
mime_type VARCHAR(32) NOT NULL CHECK (mime_type LIKE 'image/%'),
|
||||
file_size BIGINT NOT NULL CHECK (file_size > 0),
|
||||
width INT CHECK (width > 0),
|
||||
|
||||
Reference in New Issue
Block a user