diff --git a/prisma/migrations/20261028080000_reset_inflated_portfolio_value_points/migration.sql b/prisma/migrations/20261028080000_reset_inflated_portfolio_value_points/migration.sql new file mode 100644 index 0000000..74c1101 --- /dev/null +++ b/prisma/migrations/20261028080000_reset_inflated_portfolio_value_points/migration.sql @@ -0,0 +1,4 @@ +-- Points written before WealthLedger/backend#140 counted cash twice (cash balance +-- plus the mirroring CURRENCY position). Historical compositions and FX rates are +-- not stored, so the points cannot be recomputed exactly; history restarts here. +DELETE FROM "TbankPortfolioValuePoint";