Skip to content

Commit

Permalink
fix(deps): update engines to v2.18.0-20.0aec9dfecb2f5288e9de079849fc7…
Browse files Browse the repository at this point in the history
…20643622284 (#5826)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Luke <william@ordino.ai>
  • Loading branch information
3 people committed Feb 25, 2021
1 parent 8468964 commit 091dc11
Show file tree
Hide file tree
Showing 20 changed files with 165 additions and 156 deletions.
2 changes: 1 addition & 1 deletion src/packages/cli/package.json
Expand Up @@ -129,7 +129,7 @@
"precommit": "lint-staged"
},
"dependencies": {
"@prisma/engines": "2.18.0-19.4b759ce11aa29f91524e07e18b85f69a2d529992"
"@prisma/engines": "2.18.0-20.0aec9dfecb2f5288e9de079849fc720643622284"
},
"lint-staged": {
"*.ts": [
Expand Down
2 changes: 1 addition & 1 deletion src/packages/cli/src/__tests__/version.test.ts
Expand Up @@ -44,7 +44,7 @@ describe('version', () => {
const envVar = engineEnvVarMap[engine]
delete process[envVar]
}
})
}, 6000)
})

function cleanSnapshot(str: string): string {
Expand Down
4 changes: 2 additions & 2 deletions src/packages/client/package.json
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "2.18.0-19.4b759ce11aa29f91524e07e18b85f69a2d529992",
"@prisma/engines": "2.18.0-20.0aec9dfecb2f5288e9de079849fc720643622284",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "workspace:*",
"@prisma/migrate": "workspace:*",
Expand Down Expand Up @@ -125,7 +125,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "2.18.0-19.4b759ce11aa29f91524e07e18b85f69a2d529992"
"@prisma/engines-version": "2.18.0-20.0aec9dfecb2f5288e9de079849fc720643622284"
},
"lint-staged": {
"*.ts": [
Expand Down
17 changes: 9 additions & 8 deletions src/packages/client/src/__tests__/aggregate.test.ts
@@ -1,5 +1,5 @@
import { DMMFClass, makeDocument } from '../runtime'
import { getDMMF } from '../generation/getDMMF'
import { DMMFClass, makeDocument } from '../runtime'

export const recommender = /* GraphQL */ `
datasource db {
Expand All @@ -19,25 +19,26 @@ model Article {
}
model Link {
id Int @id
id Int @id
articleId Int
article Article @relation(fields: [articleId], references: [id])
postedAt DateTime
article Article @relation(fields: [articleId], references: [id])
postedAt DateTime
}
model User {
id Int @id
name String
email String @unique
likedArticles Article[]
age Int?
personaId Int
persona Persona @relation(fields: [personaId])
age Int?
personaId Int
persona Persona @relation(fields: [personaId], references: [id])
}
model Persona {
id Int @id
id Int @id
isDeveloper Boolean
User User[]
}
`

Expand Down
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
Expand Up @@ -25,5 +25,5 @@ model Post {
title String
content String?
authorId String?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
}
12 changes: 7 additions & 5 deletions src/packages/client/src/__tests__/types/blog/schema.prisma
Expand Up @@ -10,22 +10,24 @@ generator client {

// / User model comment
model User {
id String @default(uuid()) @id
id String @id @default(uuid())
email String @unique
// / name comment
name String?
posts Post[]
Like Like[]
}

model Post {
id String @default(cuid()) @id
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
published Boolean
title String
content String?
authorId String?
author User? @relation(fields: [authorId], references: [id])
Like Like[]
}

enum Role {
Expand All @@ -34,7 +36,7 @@ enum Role {
}

model MachineData {
id String @default(cuid()) @id
id String @id @default(cuid())
machineId String
os String
osVersion Float
Expand All @@ -45,11 +47,11 @@ model MachineData {
}

model Like {
id String @default(cuid()) @id
id String @id @default(cuid())
userId String
user User @relation(fields: [userId], references: [id])
postId String
post Post @relation(fields: [postId], references: [id])
@@unique([userId, postId])
}
}
Expand Up @@ -10,22 +10,24 @@ generator client {

// / User model comment
model User {
id String @default(uuid()) @id
id String @id @default(uuid())
email String @unique
// / name comment
name String?
posts Post[]
Like Like[]
}

model Post {
id String @default(cuid()) @id
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
published Boolean
title String
content String?
authorId String?
author User? @relation(fields: [authorId], references: [id])
Like Like[]
}

enum Role {
Expand All @@ -34,7 +36,7 @@ enum Role {
}

model MachineData {
id String @default(cuid()) @id
id String @id @default(cuid())
machineId String
os String
osVersion Float
Expand All @@ -45,11 +47,11 @@ model MachineData {
}

model Like {
id String @default(cuid()) @id
id String @id @default(cuid())
userId String
user User @relation(fields: [userId], references: [id])
postId String
post Post @relation(fields: [postId], references: [id])
@@unique([userId, postId])
}
}
2 changes: 1 addition & 1 deletion src/packages/client/src/fixtures/blog.ts
Expand Up @@ -46,7 +46,7 @@ model Post {
content String?
authorId String?
optionnal Float?
author User? @relation(fields: [authorId])
author User? @relation(fields: [authorId], references: [id])
categories Category[] @relation("MyPostCatRelationTable")
}
Expand Down

0 comments on commit 091dc11

Please sign in to comment.