summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-09 12:03:37 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-09 12:03:37 +0000
commitac3183caaa66b750996d90c0ac9ed430f623909c (patch)
tree3cddc8ef5230ac7e206fd0aa0d308feffae79f10 /synapse/storage/schema
parentAdd errcodes for appservice registrations. (diff)
downloadsynapse-ac3183caaa66b750996d90c0ac9ed430f623909c.tar.xz
Register a user account for the AS when the AS registers. Add 'sender' column to AS table.
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/application_services.sql1
-rw-r--r--synapse/storage/schema/delta/v14.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/schema/application_services.sql b/synapse/storage/schema/application_services.sql
index 03b5a10c8a..e491ad5aec 100644
--- a/synapse/storage/schema/application_services.sql
+++ b/synapse/storage/schema/application_services.sql
@@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS application_services(
     url TEXT,
     token TEXT,
     hs_token TEXT,
+    sender TEXT,
     UNIQUE(token) ON CONFLICT ROLLBACK
 );
 
diff --git a/synapse/storage/schema/delta/v14.sql b/synapse/storage/schema/delta/v14.sql
index 03b5a10c8a..e491ad5aec 100644
--- a/synapse/storage/schema/delta/v14.sql
+++ b/synapse/storage/schema/delta/v14.sql
@@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS application_services(
     url TEXT,
     token TEXT,
     hs_token TEXT,
+    sender TEXT,
     UNIQUE(token) ON CONFLICT ROLLBACK
 );