Phase 5: Add EF migration for soft delete columns; use shadow property for xmin

- Migration adds IsDeleted/DeletedAt to Budgets, Incomes, Outgos, BudgetShares
- xmin concurrency token configured as shadow property (uint, xid type) — not added
  as a column in the migration since xmin is a PostgreSQL system column
- Budget.RowVersion property removed; concurrency tracked via shadow property only
This commit is contained in:
Spencer Twaddle
2026-05-02 17:17:48 -05:00
parent 2908397b1e
commit bc9f55ef91
5 changed files with 404 additions and 4 deletions
-1
View File
@@ -10,7 +10,6 @@ public class Budget : ISoftDeletable
public DateTimeOffset UpdatedAt { get; set; }
public bool IsDeleted { get; set; }
public DateTimeOffset? DeletedAt { get; set; }
public byte[] RowVersion { get; set; } = [];
public List<Income> Incomes { get; set; } = [];
public List<Outgo> Outgos { get; set; } = [];