Harmonize database field names: standardize 'size' vs 'size_bytes' #159
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The asset management system uses inconsistent field names for asset size across different components:
This creates unnecessary conversion overhead and potential bugs.
Root Cause
The registry was implemented before the database schema was finalized, leading to different naming conventions.
Evidence
Impact
Proposed Solution
Option A (Recommended): Standardize on 'size_bytes' everywhere
Option B: Standardize on 'size' everywhere
Files Affected
Priority
Low - System works but creates technical debt