Rework real estate model: purchase price + mortgage + amortization only, no appreciation; amortization counts against savings quota; sale price/tax entered at transition time with correct mortgage payoff; carry over income/expenses to new phases
Deploy App / deploy (push) Successful in 1m31s
Deploy App / deploy (push) Successful in 1m31s
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-- AlterTable: RealEstate vereinfacht (Kaufpreis statt Marktwert, keine Wertsteigerung
|
||||
-- mehr, Verkaufspreis/-steuer wandern in PhaseTransitionItem)
|
||||
ALTER TABLE "RealEstate" RENAME COLUMN "marketValue" TO "purchasePrice";
|
||||
ALTER TABLE "RealEstate" DROP COLUMN "valueGrowth";
|
||||
ALTER TABLE "RealEstate" DROP COLUMN "salePrice";
|
||||
ALTER TABLE "RealEstate" DROP COLUMN "saleTaxRate";
|
||||
ALTER TABLE "RealEstate" ADD COLUMN "carriedFromRealEstateId" TEXT;
|
||||
|
||||
-- AlterTable: Verkaufssteuer wird beim Immobilien-Verkauf im Uebergang selbst erfasst
|
||||
ALTER TABLE "PhaseTransitionItem" ADD COLUMN "saleTaxRate" DOUBLE PRECISION;
|
||||
Reference in New Issue
Block a user