Skip to content

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

Feature/rename Authdevice to authdevices in User database schema (#5084)

Thomas Kaulda674f9cfb89
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6517dca281..9f32895a55 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 567aeb4d04..2021a26a12 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[]