feat(asset): remove URL field from Asset model and related functions

This commit is contained in:
mlogclub
2026-04-17 11:19:13 +08:00
parent c4aeea5581
commit 2464bbe428
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -304,7 +304,6 @@ type Asset struct {
AssetID string `gorm:"type:varchar(64);not null;uniqueIndex"`
Provider enums.AssetProvider `gorm:"type:varchar(50);not null;default:'';index"`
StorageKey string `gorm:"type:varchar(255);not null;default:'';uniqueIndex:uk_storage_key"`
URL string `gorm:"type:varchar(255);not null;default:''"`
Filename string `gorm:"type:varchar(255);not null;default:''"`
FileSize int64 `gorm:"type:bigint;not null;default:0"`
MimeType string `gorm:"type:varchar(100);not null;default:''"`