Commit Graph

11 Commits (ba9033e5ee4dae92c414318c5af73bc4715e3046)

Author SHA1 Message Date
Your Name c0cde2f682 refactor: move 52 legacy models from App\ to App\Models\
Move all Eloquent models from the app/ root directory to app/Models/
for consistency with modern Laravel conventions. The project already had
54 models in App\Models; this migrates the remaining 52 legacy models.

Changes:
- Move 52 model files from app/ to app/Models/
- Update namespace declarations in each model
- Update all ~1000 import references across the codebase
- Add Relation::morphMap() in AppServiceProvider for backward
  compatibility with existing polymorphic database records
- Add missing HasSnowflakePrimary imports for models that relied
  on same-namespace resolution
4 weeks ago
Daniel Supernault 665581d80c
Update cloud storage, use config_cache 3 years ago
Daniel Supernault 1cdc0fe8ed
Update delete pipelines 4 years ago
Daniel Supernault 9f7672f570
Update AvatarObserver, fix cloud delete bug by checking if cloud storage is enabled 4 years ago
Daniel Supernault 78665b0c17
Update model observers, handle events after all transactions are committed 4 years ago
Daniel Supernault b299da9311
Update AccountService, cache object and observe changes 6 years ago
Daniel Supernault 9eafc31e6f
Update AvatarObserver, add logic to delete avatars stored in S3 6 years ago
Daniel Supernault 889c3d8758
Update AvatarController, remove deprecated thumb_path 6 years ago
Daniel Supernault f6528c8470
Update avatars, use jpeg default 6 years ago
Daniel Supernault a641db0764
Update avatar deletion 7 years ago
Daniel Supernault db22469f06
Add AvatarObserver 8 years ago