feat: add admin panel, Openinary media integration and standardized footer backlink

This commit is contained in:
mstfyldz
2026-08-23 01:40:48 +03:00
parent 17915cd3d5
commit b312bc5593
29 changed files with 1405 additions and 41 deletions
+42
View File
@@ -0,0 +1,42 @@
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(cuid())
username String @unique
password String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Gallery {
id String @id @default(cuid())
title String
category String
imageUrl String
createdAt DateTime @default(now())
}
model Service {
id String @id @default(cuid())
title String
description String
iconUrl String?
createdAt DateTime @default(now())
}
model ContactMessage {
id String @id @default(cuid())
name String
email String
subject String?
message String
isRead Boolean @default(false)
createdAt DateTime @default(now())
}