From d8da574ae416f33371669d21da3933880003faed Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 14 Mar 2022 17:39:09 +0100 Subject: [PATCH] Feature/add support for bonds (#755) * Add support for bonds * Update changelog --- CHANGELOG.md | 8 ++++++++ .../migration.sql | 2 ++ .../migration.sql | 2 ++ prisma/schema.prisma | 2 ++ 4 files changed, 14 insertions(+) create mode 100644 prisma/migrations/20220313200604_added_fixed_income_to_asset_class/migration.sql create mode 100644 prisma/migrations/20220313200721_added_bond_to_asset_sub_class/migration.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 3502aef38..146f17e7f 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 000000000..c9e812f64 --- /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 000000000..4dd560edb --- /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 738797ed6..6dea69159 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