Disabled signup; Map test
This commit is contained in:
@ -13,28 +13,17 @@ datasource db {
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model Post {
|
||||
id Int @id @default(autoincrement())
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
title String @db.VarChar(255)
|
||||
content String?
|
||||
published Boolean @default(false)
|
||||
author User @relation(fields: [authorId], references: [id])
|
||||
authorId Int
|
||||
enum ShapeType {
|
||||
CIRCLE
|
||||
ELLIPSIS
|
||||
POLYGON
|
||||
LINE
|
||||
}
|
||||
|
||||
model Profile {
|
||||
id Int @id @default(autoincrement())
|
||||
bio String?
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
userId Int @unique
|
||||
model nodes {
|
||||
id String @id @default(uuid())
|
||||
object_id Int?
|
||||
shape_type ShapeType
|
||||
shape Json @db.Json
|
||||
label String @db.Text
|
||||
}
|
||||
|
||||
model User {
|
||||
id Int @id @default(autoincrement())
|
||||
email String @unique
|
||||
name String?
|
||||
posts Post[]
|
||||
profile Profile?
|
||||
}
|
Reference in New Issue
Block a user