Skip to main content

Database

Postgres is the system of record: datasources (configs), schemas, pipelines, custom transformers, executions, and worker heartbeats.

The API uses FALCONTALON_DB_URL. dbmate uses DATABASE_URL (the same connection string).

The API process must be able to reach Postgres. Apply migrations with dbmate against db/migrations/ before or as you roll the API:

dbmate --migrations-dir db/migrations --wait migrate

What is stored​

TableRole
configsDatasources (source/sink JSONB; credentials encrypted in JSON)
schemasJSON Schema registry (subject + version)
pipelinesPipeline definitions → config_id
executionsJob queue
custom_transformersSaved Python scripts
worker_heartbeatsLive worker registry