Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Created December 24, 2022 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/f15e42bffa19ca887b8d910adba973e8 to your computer and use it in GitHub Desktop.
Save kuc-arc-f/f15e42bffa19ca887b8d910adba973e8 to your computer and use it in GitHub Desktop.
Prisma , Session table sample
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
model Session {
id Int @id @default(autoincrement())
key String?
value String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment