quantum-ai/agent_base
Claude c8567e12cc Fix Railway startup errors and add PostgreSQL setup guide
**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>
2025-07-12 09:16:39 +05:30
..
management Fix Railway startup errors and add PostgreSQL setup guide 2025-07-12 09:16:39 +05:30
migrations Implement individual agent architecture with simplified template structure 2025-07-10 09:01:11 +05:30
templates/agent_generator Implement wallet deduction after success & fix display issues 2025-07-10 16:34:03 +05:30
__init__.py Implement individual agent architecture with simplified template structure 2025-07-10 09:01:11 +05:30
apps.py Implement individual agent architecture with simplified template structure 2025-07-10 09:01:11 +05:30
models.py Implement individual agent architecture with simplified template structure 2025-07-10 09:01:11 +05:30
processors.py Implement individual agent architecture with simplified template structure 2025-07-10 09:01:11 +05:30