Commit Graph

3 Commits

Author SHA1 Message Date
99ef2db822 chore: add dotnet-tools.json for ef tool 2026-07-07 18:08:08 +02:00
6d29f053f4 fix: proper bidirectional SharedWith many-to-many migration
Replace broken one-to-many User.AssetId shadow FK with proper
AssetUser join table using bidirectional navigation:
  HasMany(e => e.SharedWith).WithMany(e => e.SharedAssets)

Join table columns: SharedAssetsId (FK to Assets) + SharedWithId (FK to Users).
Adds SharedAssets navigation to User model.

Generated via dotnet ef migrations add.
2026-07-07 18:03:22 +02:00
d90a9421e9 dotnet tools 2026-07-07 17:16:04 +02:00