summary refs log tree commit diff
path: root/synapse/storage/schema/delta/13
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-10 10:19:50 +0100
committerErik Johnston <erik@matrix.org>2015-04-10 10:19:50 +0100
commitcda4a6f93f695cf35eea334ba17e8694aeeab58c (patch)
tree7e8ccaf6ad80ca861a91aa99db2cb0fb2a7c9c81 /synapse/storage/schema/delta/13
parentFix schema again (diff)
downloadsynapse-cda4a6f93f695cf35eea334ba17e8694aeeab58c.tar.xz
Revert non-trivial changes to upgrade scripts
Diffstat (limited to 'synapse/storage/schema/delta/13')
-rw-r--r--synapse/storage/schema/delta/13/v13.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/schema/delta/13/v13.sql b/synapse/storage/schema/delta/13/v13.sql
index ef6551f3ad..202adc7200 100644
--- a/synapse/storage/schema/delta/13/v13.sql
+++ b/synapse/storage/schema/delta/13/v13.sql
@@ -14,7 +14,7 @@
  */
 
 CREATE TABLE IF NOT EXISTS application_services(
-    id BIGINT PRIMARY KEY,
+    id BIGINT PRIMARY KEY AUTOINCREMENT,
     url VARCHAR(150),
     token VARCHAR(150),
     hs_token VARCHAR(150),
@@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS application_services(
 );
 
 CREATE TABLE IF NOT EXISTS application_services_regex(
-    id BIGINT PRIMARY KEY,
+    id BIGINT PRIMARY KEY AUTOINCREMENT,
     as_id BIGINT NOT NULL,
     namespace INTEGER,  /* enum[room_id|room_alias|user_id] */
     regex VARCHAR(150),