mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 08:41:57 -06:00
5ce1fe80de
* Hash-deduplicated state storage (and migrations) for PostgreSQL and SQLite * Refactor droomserver database setup for migrations * Fix conflict statements * Update migration names * Set a boundary for old to new block/snapshot IDs so we don't rewrite them more than once accidentally * Create sequence if not exists * Fix boundary queries * Fix boundary queries * Use Query * Break out queries a bit * More sequence tweaks * Query parameters are not playing the game * Injection escaping may not work for CREATE SEQUENCE after all * Fix snapshot sequence name * Use boundaried IDs in SQLite too * Use IFNULL for SQLite * Use COALESCE in PostgreSQL * Review comments @Kegsay |
||
---|---|---|
.. | ||
deltas | ||
event_json_table.go | ||
event_state_keys_table.go | ||
event_types_table.go | ||
events_table.go | ||
invite_table.go | ||
membership_table.go | ||
previous_events_table.go | ||
published_table.go | ||
redactions_table.go | ||
room_aliases_table.go | ||
rooms_table.go | ||
state_block_table.go | ||
state_block_table_test.go | ||
state_snapshot_table.go | ||
storage.go | ||
transactions_table.go |