noteshare.space/server/prisma/schema.prisma

20 lines
421 B
Plaintext
Raw Normal View History

2022-06-22 00:30:11 +03:00
// 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 EncryptedNote {
id String @id @default(cuid())
insert_time DateTime @default(now())
2022-06-29 15:17:38 +03:00
expire_time DateTime @default(now())
2022-06-22 00:30:11 +03:00
ciphertext String
hmac String
}