fix(upload): 分片上传 - 先预留配额并原子提交容量 (#679)
Co-authored-by: ddcat666 <26564566+ddcat666@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,7 @@ func newResourceFallbackTestService(t *testing.T) (*Service, *gorm.DB) {
|
||||
}
|
||||
if err := db.AutoMigrate(
|
||||
&model.Resource{},
|
||||
&model.UploadReservation{},
|
||||
&model.UserOSSSetting{},
|
||||
&model.SystemSetting{},
|
||||
&model.StorageLocation{},
|
||||
|
||||
Reference in New Issue
Block a user