Donna
|
a6f44b1fc9
|
Set up Alembic database migrations
- 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
|
2026-01-26 07:21:56 +00:00 |
|