feat: initial prototype
Node.js CI / Lint and Test (pull_request) Successful in 46s

This commit is contained in:
2025-02-10 23:23:49 -08:00
parent 08f232f0ee
commit d6ebb96d4f
43 changed files with 6296 additions and 14 deletions
+25
View File
@@ -0,0 +1,25 @@
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "mongodb"
url = env("MONGO_URL")
}
model Tasks {
id String @id @default(auto()) @map("_id") @db.ObjectId
userId String
number Int
title String
category String
description String
status String
priority String
dueAt DateTime
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@unique([userId, number], map: "userId_number")
@@index([userId], map: "userId")
}