Transition from team-based to account-based multi-tenancy (Free/Pro/Team). Migrations 016-020 create accounts, subscriptions, plan_limits, and account_invites tables, then migrate existing users and content FKs. New models: Account, Subscription, PlanLimits, AccountInvite. Updated models add account_id alongside existing team_id (coexistence for safe two-PR deployment). Permissions and deps refactored for account_role instead of is_team_admin. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
446 B
Plaintext
30 lines
446 B
Plaintext
# FastAPI and server
|
|
fastapi==0.109.2
|
|
uvicorn[standard]==0.27.1
|
|
|
|
# Database
|
|
sqlalchemy==2.0.25
|
|
asyncpg==0.29.0
|
|
psycopg2-binary==2.9.9
|
|
alembic==1.13.1
|
|
|
|
# Authentication
|
|
python-jose[cryptography]==3.3.0
|
|
passlib[bcrypt]==1.7.4
|
|
bcrypt==4.1.2
|
|
python-multipart==0.0.9
|
|
|
|
# Validation and settings
|
|
pydantic==2.6.1
|
|
pydantic-settings==2.1.0
|
|
email-validator==2.1.0
|
|
|
|
# Rate Limiting
|
|
slowapi==0.1.9
|
|
|
|
# Payments
|
|
stripe==14.3.0
|
|
|
|
# Utilities
|
|
python-dotenv==1.0.1
|