Browse Source

Feature/rename ApiKey to apiKeys in User database schema (#4890)

* Rename ApiKey to apiKeys in User database schema

* Update changelog
pull/4893/head
Thomas Kaul 3 weeks ago
committed by GitHub
parent
commit
0f537adf3e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      prisma/schema.prisma

1
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`

2
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[]

Loading…
Cancel
Save