From e38ce2852cdff08afc678967eb7d4f9f2e4f45a3 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 7 Jun 2025 10:37:21 +0200 Subject: [PATCH] Feature/rename Tag to tags in User database schema (#4846) * Rename Tag to tags * 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 55befe0e2..46bc7fc39 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 dd3be8cef..b063b1d89 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])