Task 003: add postgres schema and seed data

This commit is contained in:
2026-05-21 18:11:29 +03:00
parent a0ae06adfa
commit 7a11d50aa7
18 changed files with 1961 additions and 14 deletions
+14
View File
@@ -2,3 +2,17 @@
Database, cache, object storage, queue, and other external adapters belong in
this layer.
## Database
Run migrations from the repository root:
```bash
DATABASE_URL=postgresql://pipeline:pipeline_local@localhost:5432/pipeline alembic upgrade head
```
`POSTGRES_DSN` is also supported. Reference data can be seeded with:
```bash
DATABASE_URL=postgresql://pipeline:pipeline_local@localhost:5432/pipeline make seed
```