From 0f537adf3ec86440e436aed6b1489c5193657406 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 11 Jun 2025 12:06:59 +0200 Subject: [PATCH] Feature/rename ApiKey to apiKeys in User database schema (#4890) * Rename ApiKey to apiKeys 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 f8ecdc4b1..968425cdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Renamed `ApiKey` to `apiKeys` in the `User` database schema - Improved the language localization for Portuguese (`pt`) - Upgraded `@keyv/redis` from version `4.3.4` to `4.4.0` - Upgraded `zone.js` from version `0.15.0` to `0.15.1` diff --git a/prisma/schema.prisma b/prisma/schema.prisma index ede19470d..c95debe36 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -247,6 +247,7 @@ model User { accessToken String? accounts Account[] activities Order[] + apiKeys ApiKey[] authChallenge String? createdAt DateTime @default(now()) id String @id @default(uuid()) @@ -260,7 +261,6 @@ model User { Access Access[] @relation("accessGet") AccessGive Access[] @relation("accessGive") Analytics Analytics? - ApiKey ApiKey[] AuthDevice AuthDevice[] Settings Settings? SymbolProfile SymbolProfile[]