From 58dff8a1e03aae62951e9c9a4d3a92c919e95710 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 28 Dec 2022 10:40:34 +0100 Subject: [PATCH] Feature/upgrade prisma to version 4.8.0 (#1547) * Upgrade prisma to version 4.8.0 * Update changelog --- CHANGELOG.md | 1 + package.json | 4 ++-- prisma/schema.prisma | 6 +++--- yarn.lock | 36 ++++++++++++++++++------------------ 4 files changed, 24 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbcd0bf82..05b59e010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed the execution time of the asset profile data gathering to every Sunday at lunch time - Upgraded `bull` from version `4.8.5` to `4.10.2` +- Upgraded `prisma` from version `4.7.1` to `4.8.0` ## 1.221.0 - 2022-12-26 diff --git a/package.json b/package.json index ee6592410..25e3c8610 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@nestjs/schedule": "2.1.0", "@nestjs/serve-static": "3.0.0", "@nrwl/angular": "15.0.13", - "@prisma/client": "4.7.1", + "@prisma/client": "4.8.0", "@simplewebauthn/browser": "5.2.1", "@simplewebauthn/server": "5.2.1", "@stripe/stripe-js": "1.22.0", @@ -120,7 +120,7 @@ "passport": "0.6.0", "passport-google-oauth20": "2.0.0", "passport-jwt": "4.0.0", - "prisma": "4.7.1", + "prisma": "4.8.0", "reflect-metadata": "0.1.13", "rxjs": "7.5.6", "stripe": "8.199.0", diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 1c210cfb8..b90a78040 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -104,9 +104,9 @@ model Property { model Settings { settings Json? - updatedAt DateTime @updatedAt - userId String @id - User User @relation(fields: [userId], references: [id]) + updatedAt DateTime @updatedAt + userId String @id + User User @relation(fields: [userId], references: [id]) } model SymbolProfile { diff --git a/yarn.lock b/yarn.lock index f76d4725d..8710aa497 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3671,22 +3671,22 @@ dependencies: esquery "^1.0.1" -"@prisma/client@4.7.1": - version "4.7.1" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.7.1.tgz#66fe84aca25de17cb3d9141dec003f34714914b9" - integrity sha512-/GbnOwIPtjiveZNUzGXOdp7RxTEkHL4DZP3vBaFNadfr6Sf0RshU5EULFzVaSi9i9PIK9PYd+1Rn7z2B2npb9w== +"@prisma/client@4.8.0": + version "4.8.0" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.8.0.tgz#6ec7adaca6a2e233d7e41dbe7cc6d0fa6143a407" + integrity sha512-Y1riB0p2W52kh3zgssP/YAhln3RjBFcJy3uwEiyjmU+TQYh6QTZDRFBo3JtBWuq2FyMOl1Rye8jxzUP+n0l5Cg== dependencies: - "@prisma/engines-version" "4.7.1-1.272861e07ab64f234d3ffc4094e32bd61775599c" + "@prisma/engines-version" "4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe" -"@prisma/engines-version@4.7.1-1.272861e07ab64f234d3ffc4094e32bd61775599c": - version "4.7.1-1.272861e07ab64f234d3ffc4094e32bd61775599c" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.7.1-1.272861e07ab64f234d3ffc4094e32bd61775599c.tgz#43ff7d85478e64a1d790e4d53e78768a2acfacfe" - integrity sha512-Bd4LZ+WAnUHOq31e9X/ihi5zPlr4SzTRwUZZYxvWOxlerIZ7HJlVa9zXpuKTKLpI9O1l8Ec4OYCKsivWCs5a3Q== +"@prisma/engines-version@4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe": + version "4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe.tgz#30401aba1029e7d32e3cb717e705a7c92ccc211e" + integrity sha512-MHSOSexomRMom8QN4t7bu87wPPD+pa+hW9+71JnVcF3DqyyO/ycCLhRL1we3EojRpZxKvuyGho2REQsMCvxcJw== -"@prisma/engines@4.7.1": - version "4.7.1" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.7.1.tgz#d657d4d05724158140022fa00614e143643090c2" - integrity sha512-zWabHosTdLpXXlMefHmnouhXMoTB1+SCbUU3t4FCmdrtIOZcarPKU3Alto7gm/pZ9vHlGOXHCfVZ1G7OIrSbog== +"@prisma/engines@4.8.0": + version "4.8.0" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.8.0.tgz#5123c67dc0d2caa008268fc63081ca2d68b2ed7e" + integrity sha512-A1Asn2rxZMlLAj1HTyfaCv0VQrLUv034jVay05QlqZg1qiHPeA3/pGTfNMijbsMYCsGVxfWEJuaZZuNxXGMCrA== "@samverschueren/stream-to-observable@^0.3.0": version "0.3.1" @@ -16426,12 +16426,12 @@ pretty-hrtime@^1.0.3: resolved "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz" integrity sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A== -prisma@4.7.1: - version "4.7.1" - resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.7.1.tgz#0a1beac26abdc4421e496b75eb50413f3ee3b0ba" - integrity sha512-CCQP+m+1qZOGIZlvnL6T3ZwaU0LAleIHYFPN9tFSzjs/KL6vH9rlYbGOkTuG9Q1s6Ki5D0LJlYlW18Z9EBUpGg== +prisma@4.8.0: + version "4.8.0" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.8.0.tgz#634dbbdc9d3f76c61604880251673d08ccb6f02b" + integrity sha512-DWIhxvxt8f4h6MDd35mz7BJff+fu7HItW3WPDIEpCR3RzcOWyiHBbLQW5/DOgmf+pRLTjwXQob7kuTZVYUAw5w== dependencies: - "@prisma/engines" "4.7.1" + "@prisma/engines" "4.8.0" prismjs@^1.27.0, prismjs@^1.28.0: version "1.28.0"