Skip to content

Commit

Permalink
Update generated prisma schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Aug 31, 2022
1 parent f2e930e commit 96e008a
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion examples/assets-local/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/assets-s3/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/auth/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ model User {
email String @unique @default("")
password String?
isAdmin Boolean @default(false)
}
}
2 changes: 1 addition & 1 deletion examples/basic/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ model Post {
authorId String? @map("author")
@@index([authorId])
}
}
2 changes: 1 addition & 1 deletion examples/blog/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/custom-admin-ui-logo/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/custom-admin-ui-navigation/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/custom-admin-ui-pages/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/custom-field-view/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/custom-field/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ model Post {
rating Int?
pair_left String?
pair_right String?
}
}
2 changes: 1 addition & 1 deletion examples/custom-session-validation/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ model Person {
password String
passwordChangedAt DateTime?
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/default-values/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/document-field/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ model Author {
email String @unique @default("")
posts Post[] @relation("Post_author")
bio String @default("[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]")
}
}
2 changes: 1 addition & 1 deletion examples/ecommerce/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ model Role {
canManageCart Boolean @default(false)
canManageOrders Boolean @default(false)
assignedTo User[] @relation("User_role")
}
}
2 changes: 1 addition & 1 deletion examples/embedded-nextjs/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ model Post {
title String @default("")
slug String @default("")
content String @default("")
}
}
2 changes: 1 addition & 1 deletion examples/extend-graphql-schema-graphql-ts/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/extend-graphql-schema-nexus/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/extend-graphql-schema/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/extend-graphql-subscriptions/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/graphql-api-endpoint/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ model Tag {
id String @id @default(cuid())
name String @default("")
posts Post[] @relation("Post_tags")
}
}
2 changes: 1 addition & 1 deletion examples/json/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
packages Package[] @relation("Package_ownedBy")
}
}
2 changes: 1 addition & 1 deletion examples/rest-api/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @unique @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/roles/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ model Role {
canManagePeople Boolean @default(false)
canManageRoles Boolean @default(false)
assignedTo Person[] @relation("Person_role")
}
}
2 changes: 1 addition & 1 deletion examples/task-manager/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @unique @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/testing/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ model Person {
email String @unique @default("")
password String
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion examples/virtual-field/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ model Author {
name String @default("")
email String @unique @default("")
posts Post[] @relation("Post_author")
}
}
2 changes: 1 addition & 1 deletion examples/with-auth/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ model Person {
email String @unique @default("")
password String
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion tests/sandbox/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ model User {
updatedAt DateTime @updatedAt
from_Thing_toOneRelationship Thing[] @relation("Thing_toOneRelationship")
from_Thing_toOneRelationshipCard Thing[] @relation("Thing_toOneRelationshipCard")
}
}
2 changes: 1 addition & 1 deletion tests/test-projects/basic/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ model SecretPlan {
id String @id @default(cuid())
label String @default("")
description String @default("")
}
}
2 changes: 1 addition & 1 deletion tests/test-projects/crud-notifications/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ model Person {
id String @id @default(cuid())
name String @default("")
tasks Task[] @relation("Task_assignedTo")
}
}
2 changes: 1 addition & 1 deletion tests/test-projects/live-reloading/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ generator client {
model Something {
id String @id @default(cuid())
text String @default("")
}
}

0 comments on commit 96e008a

Please sign in to comment.