From 60b28ab43bd62df03eb810ea959da7d0057f520e Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Mon, 12 Sep 2022 12:24:11 +0200 Subject: [PATCH] Update synapse/storage/schema/main/delta/58/05cache_instance.sql.postgres Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> --- .../storage/schema/main/delta/58/05cache_instance.sql.postgres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/schema/main/delta/58/05cache_instance.sql.postgres b/synapse/storage/schema/main/delta/58/05cache_instance.sql.postgres index 6ff9871dafbe..4b1399277727 100644 --- a/synapse/storage/schema/main/delta/58/05cache_instance.sql.postgres +++ b/synapse/storage/schema/main/delta/58/05cache_instance.sql.postgres @@ -27,7 +27,7 @@ CREATE TABLE cache_invalidation_stream_by_instance ( CREATE UNIQUE INDEX cache_invalidation_stream_by_instance_id ON cache_invalidation_stream_by_instance(stream_id); --- The sequence needs to begin at 2 because a bunch of code assume that +-- The sequence needs to begin at 2 because a bunch of code assumes that -- get_next_id_txn will return values >= 2, cf this comment: -- https://github.com/matrix-org/synapse/blob/b93bd95e8ab64d27ae26841020f62ee61272a5f2/synapse/storage/util/id_generators.py#L344 CREATE SEQUENCE cache_invalidation_stream_seq MINVALUE 2;