negyedik gyakorlat + megoldasok

This commit is contained in:
magdo
2026-03-04 20:02:39 +01:00
parent afc3777ac9
commit 388aa908de
217 changed files with 19791 additions and 0 deletions
@@ -0,0 +1,21 @@
// Prisma Schema - PostgreSQL Database
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
// User Model
model User {
id Int @id @default(autoincrement())
name String
email String @unique
password String // bcrypt hashed password
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@map("users")
}