Skip to content

Commit

Permalink
fix: Comment regarding PlanetScale foreign key support (t3-oss#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkhanjani committed Mar 7, 2024
1 parent 57dc6ab commit 7a6e57b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/template/extras/prisma/schema/base-planetscale.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ datasource db {
provider = "mysql"
url = env("DATABASE_URL")
// Do not use foreign keys (PlanetScale does not support them)
// If you have enabled foreign key constraints for your database, remove this line.
relationMode = "prisma"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ datasource db {
provider = "mysql"
url = env("DATABASE_URL")
// Do not use foreign keys (PlanetScale does not support them)
// If you have enabled foreign key constraints for your database, remove this line.
relationMode = "prisma"
}

Expand Down

0 comments on commit 7a6e57b

Please sign in to comment.