diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-19 14:19:48 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-19 14:19:48 +0100 |
commit | 598a1d8ff953c70f9f54564225d693a1bcf42144 (patch) | |
tree | dc5304ebe26c47bcd74ce3df66abb2d3a366bcc7 /synapse/storage/schema/im.sql | |
parent | Fix typos in SQL and where we still had rowid's (which no longer exist) (diff) | |
download | synapse-598a1d8ff953c70f9f54564225d693a1bcf42144.tar.xz |
Change the way pagination works to support out of order events.
Diffstat (limited to 'synapse/storage/schema/im.sql')
-rw-r--r-- | synapse/storage/schema/im.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/im.sql b/synapse/storage/schema/im.sql index 0fb3dbee55..ea04261ff0 100644 --- a/synapse/storage/schema/im.sql +++ b/synapse/storage/schema/im.sql @@ -14,7 +14,7 @@ */ CREATE TABLE IF NOT EXISTS events( - token_ordering INTEGER PRIMARY KEY AUTOINCREMENT, + stream_ordering INTEGER PRIMARY KEY AUTOINCREMENT, topological_ordering INTEGER NOT NULL, event_id TEXT NOT NULL, type TEXT NOT NULL, |