summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-05-04 15:19:12 +0100
committerErik Johnston <erik@matrix.org>2016-05-04 15:19:12 +0100
commit8e6a163f2762b3f62ae9b350c5050bc2318ec268 (patch)
treeaa7bc8a71f2ed9795bc65ce57d048a4ccc0be051 /synapse/storage/schema
parentMove event_id to path (diff)
downloadsynapse-8e6a163f2762b3f62ae9b350c5050bc2318ec268.tar.xz
Add timestamp and auto incrementing ID
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/delta/32/reports.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/32/reports.sql b/synapse/storage/schema/delta/32/reports.sql
index 06bf0d9b5a..3f25027457 100644
--- a/synapse/storage/schema/delta/32/reports.sql
+++ b/synapse/storage/schema/delta/32/reports.sql
@@ -15,6 +15,8 @@
 
 
 CREATE TABLE event_reports(
+    id BIGINT NOT NULL,
+    received_ts BIGINT NOT NULL,
     room_id TEXT NOT NULL,
     event_id TEXT NOT NULL,
     user_id TEXT NOT NULL,