Skip to content

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

Feature/rename Tag to tags in User database schema (#4846)

Thomas Kaule38ce2852cdf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 55befe0e2b..46bc7fc395 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Extended the symbol search component by default options
+- Renamed `Tag` to `tags` in the `User` database schema
- Improved the language localization for Spanish (`es`)
- Improved the language localization for Turkish (`tr`)
- Upgraded `ng-extract-i18n-merge` from version `2.15.0` to `2.15.1`
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index dd3be8cefe..b063b1d894 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -252,6 +252,7 @@ model User {
provider Provider @default(ANONYMOUS)
role Role @default(USER)
subscriptions Subscription[]
+ tags Tag[]
thirdPartyId String?
updatedAt DateTime @updatedAt
watchlist SymbolProfile[] @relation("UserWatchlist")
@@ -263,7 +264,6 @@ model User {
AuthDevice AuthDevice[]
Settings Settings?
SymbolProfile SymbolProfile[]
- Tag Tag[]
@@index([accessToken])
@@index([createdAt])