dendrite/roomserver/storage/postgres
Till 8196b29657
Change detection of already executed migrations (#2665)
This changes the detection of already executed migrations for the
roomserver state block and keychange refactor. It now uses schema tables
provided by the database engine to check if the column was already
removed. We now also store the migration in the migrations table.

This should stop e.g. Postgres from logging errors like `ERROR: column
"event_nid" does not exist at character 8`.
2022-09-09 13:14:52 +01:00
..
deltas Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
event_json_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_state_keys_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_types_table.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
events_table.go Allow un-rejecting events on reprocessing 2022-08-24 14:03:06 +01:00
invite_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
membership_table.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
previous_events_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
published_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
redactions_table.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
room_aliases_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
rooms_table.go De-race types.RoomInfo (#2600) 2022-08-01 15:29:19 +01:00
state_block_table.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
state_snapshot_table.go Optimise checking other servers allowed to see events (#2596) 2022-08-01 14:11:00 +01:00
storage.go Change detection of already executed migrations (#2665) 2022-09-09 13:14:52 +01:00