diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 14:24:25 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 14:24:25 +0100 |
commit | 11c4e506bd6254fcb9551729e70b7ade80b127e4 (patch) | |
tree | f3c34469618e9e4ec1d26ffb9441f6ce79f9c953 /synapse/storage/schema | |
parent | Remove obsolete `OldCollectionRequired` as old collection is obsolete. (diff) | |
download | synapse-11c4e506bd6254fcb9551729e70b7ade80b127e4.tar.xz |
Rename `room_state` table to `room_stats_state`
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/56/stats_separated1.sql | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/56/stats_separated1.sql b/synapse/storage/schema/delta/56/stats_separated1.sql index 045b5ca013..52fb09c0e6 100644 --- a/synapse/storage/schema/delta/56/stats_separated1.sql +++ b/synapse/storage/schema/delta/56/stats_separated1.sql @@ -137,3 +137,6 @@ CREATE INDEX IF NOT EXISTS user_stats_historical_end_ts ON user_stats_historical -- We don't need an index on (user_id, end_ts) because PRIMARY KEY sorts that -- out for us. (We would want it to review stats for a particular user.) + +-- Also rename room_state to room_stats_state to make its ownership clear. +ALTER TABLE room_state RENAME TO room_stats_state; |