Files
content-factory/apps/backend/src/infrastructure/README.md
T

438 B

Infrastructure

Database, cache, object storage, queue, and other external adapters belong in this layer.

Database

Run migrations from the repository root:

DATABASE_URL=postgresql://pipeline:pipeline_local@localhost:5432/pipeline alembic upgrade head

POSTGRES_DSN is also supported. Reference data can be seeded with:

DATABASE_URL=postgresql://pipeline:pipeline_local@localhost:5432/pipeline make seed