From a0b00ff26c519142de9d52d17398d305cb556075 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 8 Jul 2025 21:37:49 +0200 Subject: [PATCH] Feature/rename AccessGive to accessesGive in User database schema (#5132) * Rename AccessGive to accessesGive in User database schema * Update changelog --- CHANGELOG.md | 1 + prisma/schema.prisma | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7066c4788..de4f9fb8f 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 6080a1aa6..609bede5c 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])