Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

schema

Chris Bautista0a13be65632f
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index a352ad59..1f526b94 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -7,14 +7,12 @@ generator client {
}
datasource db {
- provider = "sqlite"
- // NOTE: When using mysql or sqlserver, uncomment the @db.Text annotations in model Account below
- // Further reading:
- // https://next-auth.js.org/adapters/prisma#create-the-prisma-schema
- // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#string
- url = env("DATABASE_URL")
+ provider = "mysql"
+ url = env("DATABASE_URL")
+ relationMode = "prisma"
}
+
model Example {
id String @id @default(cuid())
createdAt DateTime @default(now())