mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 11:12:57 +00:00
## Migration Fix for Railway Database - Railway PostgreSQL already has access_url_name/display_url_name columns - Previous migration tried to add existing columns → DuplicateColumn error - New migration checks if columns exist before adding them ## Smart Migration Logic ✅ Check information_schema for existing columns ✅ Add columns only if they don't exist ✅ Skip if columns already present (Railway case) ✅ Works for both fresh and existing databases ## Error Fixed ❌ Was: column 'access_url_name' of relation 'agents_agent' already exists ✅ Now: Migration succeeds regardless of existing schema state ## Result - Railway deployment will complete successfully - populate_agents will run and create all 5 agents - Marketplace will show agents again 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| 0001_initial.py | ||
| 0002_agent_agent_type_alter_agent_form_schema_chatsession_and_more.py | ||
| 0003_chatsession_expires_at_alter_chatsession_status.py | ||
| 0004_add_message_limit.py | ||
| 0005_auto_20250804_1045.py | ||