diff options
author | David Baker <dave@matrix.org> | 2015-01-20 11:49:48 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-01-20 11:49:48 +0000 |
commit | afb714f7bebf88ac27eac018cffa2078e2723310 (patch) | |
tree | c65a60cc08b0c5335a25b946f49255cbe4468202 /synapse/storage/schema | |
parent | Require device language when adding a pusher. (diff) | |
download | synapse-afb714f7bebf88ac27eac018cffa2078e2723310.tar.xz |
add instance_handles to pushers so we have a way to refer to them even if the push token changes.
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/v10.sql | 1 | ||||
-rw-r--r-- | synapse/storage/schema/pusher.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/v10.sql b/synapse/storage/schema/delta/v10.sql index 689d2dff8b..b84ce20ef3 100644 --- a/synapse/storage/schema/delta/v10.sql +++ b/synapse/storage/schema/delta/v10.sql @@ -16,6 +16,7 @@ CREATE TABLE IF NOT EXISTS pushers ( id INTEGER PRIMARY KEY AUTOINCREMENT, user_name TEXT NOT NULL, + instance_handle varchar(32) NOT NULL, kind varchar(8) NOT NULL, app_id varchar(64) NOT NULL, app_display_name varchar(64) NOT NULL, diff --git a/synapse/storage/schema/pusher.sql b/synapse/storage/schema/pusher.sql index 689d2dff8b..b84ce20ef3 100644 --- a/synapse/storage/schema/pusher.sql +++ b/synapse/storage/schema/pusher.sql @@ -16,6 +16,7 @@ CREATE TABLE IF NOT EXISTS pushers ( id INTEGER PRIMARY KEY AUTOINCREMENT, user_name TEXT NOT NULL, + instance_handle varchar(32) NOT NULL, kind varchar(8) NOT NULL, app_id varchar(64) NOT NULL, app_display_name varchar(64) NOT NULL, |