mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-19 07:07:54 -04:00
Prefix TS fields with _ts
This commit is contained in:
parent
b31ec214a5
commit
112283e230
4 changed files with 44 additions and 43 deletions
|
@ -203,8 +203,8 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
"""
|
||||
|
||||
sql = (
|
||||
"SELECT user_id, state, last_active, last_federation_update,"
|
||||
" last_user_sync, status_msg, currently_active FROM presence_stream"
|
||||
"SELECT user_id, state, last_active_ts, last_federation_update_ts,"
|
||||
" last_user_sync_ts, status_msg, currently_active FROM presence_stream"
|
||||
" WHERE state != ?"
|
||||
)
|
||||
sql = self.database_engine.convert_param_style(sql)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue