summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-12-10 14:13:23 +0000
committerGitHub <noreply@github.com>2021-12-10 14:13:23 +0000
commit86e7a6d16ee9ffe8f5e783ec8150405b13f878fa (patch)
tree2888d19b732406e7836d100d5198faf0ae710adc /synapse/storage/schema
parentEnsure emails are canonicalized before fetching associated user. (#11547) (diff)
downloadsynapse-86e7a6d16ee9ffe8f5e783ec8150405b13f878fa.tar.xz
Stop populating `state_events.prev_state` (#11558)
this field is never read, so we may as well stop populating it.
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/storage/schema/__init__.py b/synapse/storage/schema/__init__.py
index 50d08094d5..2a3d47185a 100644
--- a/synapse/storage/schema/__init__.py
+++ b/synapse/storage/schema/__init__.py
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-SCHEMA_VERSION = 66  # remember to update the list below when updating
+SCHEMA_VERSION = 67  # remember to update the list below when updating
 """Represents the expectations made by the codebase about the database schema
 
 This should be incremented whenever the codebase changes its requirements on the
@@ -50,6 +50,9 @@ Changes in SCHEMA_VERSION = 65:
 Changes in SCHEMA_VERSION = 66:
     - Queries on state_key columns are now disambiguated (ie, the codebase can handle
       the `events` table having a `state_key` column).
+
+Changes in SCHEMA_VERSION = 67:
+    - state_events.prev_state is no longer written to.
 """