mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 23:16:37 +08:00
refactor(storage): drop per-upload storage_driver, use storage_config as single source
Remove w_uploads.storage_driver and route all read/write/delete paths through storage.Active() backed by storage_config.driver. Block direct driver switches when uploads exist; require migration task instead. Simplify migration to cursor-based file_path iteration without per-row driver updates.
This commit is contained in:
@@ -24,7 +24,6 @@ export interface Upload {
|
||||
mime_type: string
|
||||
extension: string
|
||||
hash: string
|
||||
storage_driver: string
|
||||
type: string
|
||||
status: string
|
||||
access_mode: number
|
||||
|
||||
Reference in New Issue
Block a user