mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 17:12:59 +00:00
**Fixed Railway Startup Issues:** - Reorder commands: migrate before backup_users - Make backup_users handle missing tables gracefully - Add proper error handling for unmigrated databases - Check for table existence before querying users **Added Railway Setup Guide:** - Complete PostgreSQL configuration instructions - Environment variables template - Database verification commands - Troubleshooting steps for persistent storage **Key Issue Resolution:** - Railway using SQLite (ephemeral) instead of PostgreSQL - Users disappear because SQLite resets on each deployment - Need to add PostgreSQL database addon in Railway **Next Steps:** 1. Add PostgreSQL database in Railway dashboard 2. Verify DATABASE_URL environment variable 3. Deploy with persistent database 4. Create admin user via Railway console 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| backup_users.py | ||
| create_agent.py | ||
| create_user.py | ||
| populate_agents.py | ||
| test_webhook.py | ||