Fix portdb missing un_partial_stated_room_stream_sequence setup (#20302)

Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-10-07 15:59:57 +00:00
1 parent 85f4b9a2ba
commit 2392446370
2 files changed
+5

No files matched your search

+1
View File
@@ -0,0 +1 @@
Set up `un_partial_stated_room_stream_sequence` during SQLite -> PostgreSQL DB porting, preventing a PostgreSQL sequence inconsistency error on startup.
+4
View File
@@ -833,6 +833,10 @@ class Porter:
"un_partial_stated_event_stream_sequence",
[("un_partial_stated_event_stream", "stream_id")],
)
await self._setup_sequence(
"un_partial_stated_room_stream_sequence",
[("un_partial_stated_room_stream", "stream_id")],
)
await self._setup_sequence(
"device_inbox_sequence",
[