Skip to content

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

Feature/rename AccessGive to accessesGive in User database schema (#5132)

Thomas Kaula0b00ff26c51
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7066c47889..de4f9fb8fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Respected the filter by account for accounts when exporting activities on the portfolio activities page
- Improved the label for asset profiles with `MANUAL` data source in the chart of the holdings tab on the home page
+- Renamed `AccessGive` to `accessesGive` in the `User` database schema
- Improved the language localization for Catalan (`ca`)
- Improved the language localization for German (`de`)
- Improved the language localization for Spanish (`es`)
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 6080a1aa6f..609bede5c9 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -245,6 +245,7 @@ model Tag {
model User {
accessesGet Access[] @relation("accessGet")
+ accessesGive Access[] @relation("accessGive")
accessToken String?
accounts Account[]
activities Order[]
@@ -262,7 +263,6 @@ model User {
thirdPartyId String?
updatedAt DateTime @updatedAt
watchlist SymbolProfile[] @relation("UserWatchlist")
- AccessGive Access[] @relation("accessGive")
SymbolProfile SymbolProfile[]
@@index([accessToken])