forked-synapse/synapse/storage/schema/delta
Erik Johnston c5a296b10c Add support for persisting event format versions
Currently we only have the one event format version defined, but this
adds the necessary infrastructure to persist and fetch the format
versions alongside the events.

We specify the format version rather than the room version as:

1. We don't necessarily know the room version, existing events may be
   either v1 or v2.
2. We'd need to be careful to prevent/handle correctly if different
   events in the same room reported to be of different versions, which
   sounds annoying.
2019-01-23 11:30:01 +00:00
..
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 Drop sent_transactions 2018-12-01 23:07:35 -06:00
35
36
37
38
39
40 Add unique indexes to a couple of tables 2018-11-02 10:36:13 +00:00
41
42
43
44
45
46 WIP e2e key backups 2018-09-13 17:02:59 +01:00
47
48
49
50
51 Don't reuse backup versions 2018-10-05 15:08:36 +01:00
52 Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backup_versions_are_numbers 2018-11-09 18:35:02 +00:00
53 Add support for persisting event format versions 2019-01-23 11:30:01 +00:00