Staging instance, all changes can be removed at any time

Skip to content

postgresql: Rename db_to_revision to db_to_optional_revision, and add db_to_revision

vlorentz requested to merge db_to_optional into master

which crashes instead.

db_to_revision should be used to convert when selecting directly from tables, and db_to_optional_revision when doing an outer join with the table.

This allows skipping 'assert revision is not None' just to make mypy happy.

Merge request reports

Loading