summary refs log tree commit diff
path: root/synapse/storage/schema/pusher.sql
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-12-03 13:37:02 +0000
committerDavid Baker <dbkr@matrix.org>2014-12-03 13:37:02 +0000
commit88af58d41d561f1d9f6bbbfb2a1e8bd00dbbe638 (patch)
tree71510c1925db68589d2509b01acbcb4fb172cb0c /synapse/storage/schema/pusher.sql
parentconvert to spaces before I start a holy war (diff)
downloadsynapse-88af58d41d561f1d9f6bbbfb2a1e8bd00dbbe638.tar.xz
Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant.
Diffstat (limited to 'synapse/storage/schema/pusher.sql')
-rw-r--r--synapse/storage/schema/pusher.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/schema/pusher.sql b/synapse/storage/schema/pusher.sql
index e83f7e7436..b60aeda756 100644
--- a/synapse/storage/schema/pusher.sql
+++ b/synapse/storage/schema/pusher.sql
@@ -17,11 +17,12 @@ CREATE TABLE IF NOT EXISTS pushers (
   id INTEGER PRIMARY KEY AUTOINCREMENT,
   user_name TEXT NOT NULL,
   kind varchar(8) NOT NULL,
-  app varchar(64) NOT NULL,
+  app_id varchar(64) NOT NULL,
+  app_instance_id varchar(64) NOT NULL,
   app_display_name varchar(64) NOT NULL,
   device_display_name varchar(128) NOT NULL,
   pushkey blob NOT NULL,
-  data text,
+  data blob,
   last_token TEXT,
   last_success BIGINT,
   failing_since BIGINT,