first commit

This commit is contained in:
KofK
2024-08-14 21:08:10 +10:00
commit 43da0bdff2
26 changed files with 9202 additions and 0 deletions

17
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,17 @@
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}
model Post {
id Int @id @default(autoincrement())
text String?
media String? // URL или путь к файлу
mediaType String? // "image", "video", "drawing", "code"
code String? // Код, который нужно запустить
}