From da674f9cfb89cf2b3be1adee2b962eef6cf531a9 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 3 Jul 2025 20:19:24 +0200 Subject: [PATCH] Feature/rename Authdevice to authdevices in User database schema (#5084) * Rename AuthDevice to authDevices 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 6517dca28..9f32895a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Refactored the about pages to standalone - Made the `getByKey()` function generic in the property service +- Renamed `AuthDevice` to `authDevices` in the `User` database schema - Improved the language localization for Catalan (`ca`) - Improved the language localization for German (`de`) - Improved the language localization for Portuguese (`pt`) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 567aeb4d0..2021a26a1 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -250,6 +250,7 @@ model User { analytics Analytics? apiKeys ApiKey[] authChallenge String? + authDevices AuthDevice[] createdAt DateTime @default(now()) id String @id @default(uuid()) provider Provider @default(ANONYMOUS) @@ -261,7 +262,6 @@ model User { watchlist SymbolProfile[] @relation("UserWatchlist") Access Access[] @relation("accessGet") AccessGive Access[] @relation("accessGive") - AuthDevice AuthDevice[] Settings Settings? SymbolProfile SymbolProfile[]