Replace create_all() startup approach with Alembic for proper schema versioning. Includes initial migration for users and evotor_connections tables, entrypoint script that runs migrations before starting uvicorn. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
91 B
Bash
Executable File
5 lines
91 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
alembic upgrade head
|
|
exec uvicorn web.main:app --host 0.0.0.0 --port 8000
|