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 11:22:04 +0100
committerErik Johnston <erik@matrix.org>2015-04-10 11:22:04 +0100
commit7e863c51e6a6a5b6f757cb279f5d7308db1432d4 (patch)
tree2b491a2422034b63b423ba11b59df0ebaa732a9c /synapse/storage/schema/delta/13
parentSQLite wants INTEGER and not BIGINT for primary keys (diff)
downloadsynapse-7e863c51e6a6a5b6f757cb279f5d7308db1432d4.tar.xz
Use unsigned bigint
Diffstat (limited to 'synapse/storage/schema/delta/13')
-rw-r--r--synapse/storage/schema/delta/13/v13.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/13/v13.sql b/synapse/storage/schema/delta/13/v13.sql
index 17a139b867..d1da2b48e2 100644
--- a/synapse/storage/schema/delta/13/v13.sql
+++ b/synapse/storage/schema/delta/13/v13.sql
@@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS application_services(
 
 CREATE TABLE IF NOT EXISTS application_services_regex(
     id INTEGER PRIMARY KEY AUTOINCREMENT,
-    as_id BIGINT NOT NULL,
+    as_id BIGINT UNSIGNED NOT NULL,
     namespace INTEGER,  /* enum[room_id|room_alias|user_id] */
     regex VARCHAR(150),
     FOREIGN KEY(as_id) REFERENCES application_services(id)