Menyelesaikan object user dan init base

This commit is contained in:
Mr. Rayyan
2026-07-30 22:47:18 +07:00
parent 3efac50f39
commit fdbfb34842
128 changed files with 6785 additions and 3156 deletions
+15 -2
View File
@@ -1,5 +1,6 @@
// Prisma schema placeholder
// Define models in implementation phase
// Prisma schema
// Basic User model for RayLab Core
generator client {
provider = "prisma-client-js"
}
@@ -8,3 +9,15 @@ datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(uuid())
name String
email String @unique
password String
status String @default("ACTIVE")
metadata Json?
created_at DateTime @default(now())
updated_at DateTime @updatedAt
deleted_at DateTime?
}