0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 16:03:50 +01:00
dendrite/roomserver/storage/postgres
Neil Alexander c2bd0b97b3
Get room versions from database (#918)
* Retrieve room version where known in roomserver

* Get room versions in alias code

* Increase gocyclothreshold to 13, since we hit that number a lot

* Remove gocyclo nolint from StoreEvent

* Update interface to get room version from room ID instead of NID

* Remove new API

* Fixed this query for SQLite but not for Postgres
2020-03-17 18:00:10 +00:00
..
event_json_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
event_state_keys_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
event_types_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
events_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
invite_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
membership_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
prepare.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
previous_events_table.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
room_aliases_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
rooms_table.go Get room versions from database (#918) 2020-03-17 18:00:10 +00:00
sql.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
state_block_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
state_block_table_test.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
state_snapshot_table.go Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
storage.go Get room versions from database (#918) 2020-03-17 18:00:10 +00:00
transactions_table.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00