feat: Add isAvailable field to AgentProfile model and DTO for managing agent availability status.

This commit is contained in:
pradeepkumar committed 2026-02-02 00:34:35 +05:30
1 parent 4421a8fcbf
commit 497a1a4ba6
2 files changed
+11

No files matched your search

+2
View File
@@ -174,6 +174,7 @@ model AgentProfile {
profileCompleteness Int @default(0)
isPublic Boolean @default(true)
isFeatured Boolean @default(false)
isAvailable Boolean @default(true) // Agent availability status for connect requests
// Stats (denormalized for performance)
totalReviews Int @default(0)
@@ -196,6 +197,7 @@ model AgentProfile {
@@index([verificationStatus])
@@index([isPublic])
@@index([isFeatured])
@@index([isAvailable])
@@map("agent_profiles")
}