Files
todo/services/nextjs/prisma/schema.prisma
Mayne0213 8b195378a5 CHORE(app): initial configuration
- Add initial app settings
- Configure base deployment
2025-11-24 22:09:18 +09:00

23 lines
498 B
Plaintext

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
}
model Todo {
id Int @id @default(autoincrement())
title String
description String?
completed Boolean @default(false)
priority String @default("medium")
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}