From c3779cf5094fb7406489d5d2a9bc5f9a90dc0721 Mon Sep 17 00:00:00 2001 From: John Pinkyfloyd Date: Fri, 20 Mar 2026 14:49:05 -0700 Subject: [PATCH] Update memory with database and server info Co-Authored-By: Claude --- memory/mac-context.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/memory/mac-context.md b/memory/mac-context.md index 0b16e77..a2e8a1e 100644 --- a/memory/mac-context.md +++ b/memory/mac-context.md @@ -35,6 +35,23 @@ - **My WireGuard IP**: 10.10.0.14 - **VPN Gateway**: 10.10.0.1 - **Dev Server**: 10.10.0.11 +- **Biz Server**: biz.payfrit.com (prod) + +## Database +- **Host**: 10.10.0.1 (VPN gateway) +- **Prod DB**: payfrit +- **Dev DB**: payfrit_dev +- **User**: payfrit_app +- **Tables**: Tasks, Orders, Businesses, Users, ServicePoints, etc. + +## Key Queries +```sql +-- Recent tasks for a business +SELECT ID, BusinessID, Title, ClaimedByUserID, CompletedOn, CreatedOn +FROM Tasks WHERE BusinessID=? ORDER BY CreatedOn DESC; + +-- Pending tasks (ClaimedByUserID=0 AND CompletedOn IS NULL) +``` ## Team (@mentions) - @ava - Design