summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 10:11:43 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 10:11:43 +0000
commit112283e23005bdaa17b6184cb55fd786facff47d (patch)
tree6028e91034155cce73c2ab36e544cd7267c305b0 /synapse/storage/schema
parentRemove status_msg when going offline. Don't offline -> online if you send a m... (diff)
downloadsynapse-112283e23005bdaa17b6184cb55fd786facff47d.tar.xz
Prefix TS fields with _ts
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/delta/30/presence_stream.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/schema/delta/30/presence_stream.sql b/synapse/storage/schema/delta/30/presence_stream.sql
index 14f5e3d30a..606bbb037d 100644
--- a/synapse/storage/schema/delta/30/presence_stream.sql
+++ b/synapse/storage/schema/delta/30/presence_stream.sql
@@ -18,9 +18,9 @@
      stream_id BIGINT,
      user_id TEXT,
      state TEXT,
-     last_active BIGINT,
-     last_federation_update BIGINT,
-     last_user_sync BIGINT,
+     last_active_ts BIGINT,
+     last_federation_update_ts BIGINT,
+     last_user_sync_ts BIGINT,
      status_msg TEXT,
      currently_active BOOLEAN
  );