🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
41
node_modules/shiki/samples/prisma.sample
generated
vendored
Normal file
41
node_modules/shiki/samples/prisma.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
/// Post including an author and content.
|
||||
model Post {
|
||||
id Int @default(autoincrement()) @id
|
||||
content String?
|
||||
published Boolean @default(false)
|
||||
author User? @relation(fields: [authorId], references: [id])
|
||||
authorId Int?
|
||||
}
|
||||
|
||||
// Documentation for this model.
|
||||
model User {
|
||||
id Int @default(autoincrement()) @id
|
||||
email String @unique
|
||||
name String?
|
||||
posts Post[]
|
||||
specialName UserName
|
||||
test Test
|
||||
}
|
||||
|
||||
/// This is an enum specifying the UserName.
|
||||
enum UserName {
|
||||
Fred
|
||||
Eric
|
||||
}
|
||||
|
||||
// This is a test enum.
|
||||
enum Test {
|
||||
TestUno
|
||||
TestDue
|
||||
}
|
||||
|
||||
// taken from https://github.com/prisma/language-tools/blob/master/packages/vscode/testFixture/hover.prisma
|
||||
Loading…
Add table
Add a link
Reference in a new issue