Update storage logic to use database when available

Modify server/storage.ts to prioritize DatabaseStorage when DATABASE_URL is set, falling back to MemStorage otherwise. Includes updated logging to reflect this logic. Also adds attached reports detailing PostgreSQL production database schema and contents.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/AVGwNHS
This commit is contained in:
michaelschal committed 2025-09-15 08:12:18 +00:00
1 parent c975871110
commit c675429634
4 files changed
+1293 -6

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ externalPort = 3002
localPort = 41343
externalPort = 3001
[[ports]]
localPort = 44301
externalPort = 3000
[workflows]
runButton = "Project"