- Initialize Alembic in bloxserver/ - Configure for async SQLAlchemy (converts async URLs to sync for migrations) - Generate initial migration with all existing tables: - users (Clerk sync, Stripe billing) - flows (workflow definitions) - triggers (webhook, schedule, manual, event) - executions (run history) - user_api_keys (BYOK encrypted storage) - usage_records (billing metrics) - stripe_events (webhook idempotency) Usage: cd bloxserver alembic upgrade head # Apply migrations alembic revision --autogenerate -m 'description' # New migration Co-authored-by: Dan |
||
|---|---|---|
| .. | ||
| 7136cc209524_initial_schema.py | ||