Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/remove account type enum (#2832)
Thomas Kaulaf71274ea94b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3dc70425d2..668e0efd41 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Changed++- Removed the `AccountType` enum+## 2.35.0 - 2024-01-06### Addeddiff --git a/libs/common/src/lib/interfaces/export.interface.ts b/libs/common/src/lib/interfaces/export.interface.tsindex 60fdd93e09..b142cb2f80 100644--- a/libs/common/src/lib/interfaces/export.interface.ts+++ b/libs/common/src/lib/interfaces/export.interface.ts@@ -5,10 +5,7 @@ export interface Export {date: string;version: string;};- accounts: Omit<- Account,- 'accountType' | 'createdAt' | 'isDefault' | 'updatedAt' | 'userId'- >[];+ accounts: Omit<Account, 'createdAt' | 'isDefault' | 'updatedAt' | 'userId'>[];activities: (Omit<Order,| 'accountUserId'diff --git a/prisma/migrations/20240106124731_removed_account_type_enum/migration.sql b/prisma/migrations/20240106124731_removed_account_type_enum/migration.sqlnew file mode 100644index 0000000000..e655463be2--- /dev/null+++ b/prisma/migrations/20240106124731_removed_account_type_enum/migration.sql@@ -0,0 +1,2 @@+-- DropEnum+DROP TYPE "AccountType";diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex a7db0ceeec..e02b30e08f 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -196,11 +196,6 @@ model User {Subscription Subscription[]}-enum AccountType {- CASH- SECURITIES-}-enum AssetClass {CASHCOMMODITY