Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add support for bonds (#755)

Thomas Kauld8da574ae416
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3502aef383..146f17e7f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,11 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### Added
+
+- Added support for bonds
+
### Changed
- Restructured the portfolio summary tab on the home page
- Improved the tooltips in the portfolio proportion chart component by introducing multilines
+### Todo
+
+- Apply data migration (`yarn database:migrate`)
+
## 1.125.0 - 12.03.2022
### Added
diff --git a/prisma/migrations/20220313200604_added_fixed_income_to_asset_class/migration.sql b/prisma/migrations/20220313200604_added_fixed_income_to_asset_class/migration.sql
new file mode 100644
index 0000000000..c9e812f64c
--- /dev/null
+++ b/prisma/migrations/20220313200604_added_fixed_income_to_asset_class/migration.sql
@@ -0,0 +1,2 @@
+-- AlterEnum
+ALTER TYPE "AssetClass" ADD VALUE 'FIXED_INCOME';
diff --git a/prisma/migrations/20220313200721_added_bond_to_asset_sub_class/migration.sql b/prisma/migrations/20220313200721_added_bond_to_asset_sub_class/migration.sql
new file mode 100644
index 0000000000..4dd560edbc
--- /dev/null
+++ b/prisma/migrations/20220313200721_added_bond_to_asset_sub_class/migration.sql
@@ -0,0 +1,2 @@
+-- AlterEnum
+ALTER TYPE "AssetSubClass" ADD VALUE 'BOND';
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 738797ed66..6dea691592 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -171,9 +171,11 @@ enum AssetClass {
CASH
COMMODITY
EQUITY
+ FIXED_INCOME
}
enum AssetSubClass {
+ BOND
CRYPTOCURRENCY
ETF
MUTUALFUND