优化动图
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ImageFile" ADD COLUMN "duration" INTEGER;
|
||||
@@ -144,6 +144,7 @@ model ImageFile {
|
||||
height Int?
|
||||
|
||||
animated String? // 如果是动图,存储 video 格式的 URL
|
||||
duration Int? // 动图时长(毫秒),仅当 animated 不为 null 时有值
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
Reference in New Issue
Block a user