Files
kitebeachakyaka/prisma/schema.prisma
T

95 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
}
model SiteSettings {
id Int @id @default(1)
title String
email String
phone String
address String
instagram String?
updatedAt DateTime @updatedAt
}
model HeroSection {
lang String @id // "tr" or "en"
location String
welcome String
title String
subtitle String
bookNow String
exploreActivities String
scroll String
updatedAt DateTime @updatedAt
}
model Activity {
id Int @id @default(autoincrement())
lang String // "tr" or "en"
title String
description String
price String
image String
badge String? // e.g. "IKO Sertifikalı"
order Int @default(0)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Event {
id Int @id @default(autoincrement())
lang String // "tr" or "en"
title String
description String
date String
time String
location String
image String
badge String? // e.g. "Yaklaşan Etkinlik"
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Feature {
id Int @id @default(autoincrement())
lang String // "tr" or "en"
icon String
label String
sub String
order Int @default(0)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model AboutSection {
lang String @id // "tr" or "en"
badge String
titleLine1 String
titleLine2 String
titleHighlight String
description1 String
description2 String
image String
statsGuestCount String
statsGuestLabel String
statsYearCount String
statsYearLabel String
badgeIkoTitle String
badgeIkoLabel String
updatedAt DateTime @updatedAt
}
model User {
id Int @id @default(autoincrement())
username String @unique
password String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}