Skip to content

v0.4.0

Choose a tag to compare

@monneyboi monneyboi released this 28 Sep 16:07
· 34 commits to main since this release
ee2b0c0

Breaking change: the Alembic environment's environment-variable fallback is renamed from DATABASE_URL to PRAVDA_DATABASE_URI, matching the project-prefixed opensanctions convention (ZAVOD_DATABASE_URI, NOMENKLATURA_DB_URL). sqlalchemy.url in the Alembic configuration still takes precedence and is unchanged.

If you relied on the env var (e.g. the developer command in the README), rename it:

$ PRAVDA_DATABASE_URI=postgresql+psycopg://... alembic upgrade head