Add schema update to fix existing DBs affected by #9193 (#9195)

This commit is contained in:
Erik Johnston 2021-01-21 16:03:25 +00:00 committed by GitHub
parent 2506074ef0
commit ccfafac882
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View file

@ -180,7 +180,7 @@ class PostgresSequenceGenerator(SequenceGenerator):
if max_in_stream_positions and max_in_stream_positions > last_value:
raise IncorrectDatabaseSetup(
_INCONSISTENT_STREAM_ERROR
% {"seq": self._sequence_name, "stream": stream_name}
% {"seq": self._sequence_name, "stream_name": stream_name}
)