summary refs log tree commit diff
path: root/synapse/storage/schema/schema_version.sql
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-28 12:41:33 +0100
committerErik Johnston <erik@matrix.org>2015-04-28 12:41:33 +0100
commit18f82477011ee9279bde8ad995d654c116d3f652 (patch)
treee7f351c8597515399195754507e777050ade8016 /synapse/storage/schema/schema_version.sql
parentCorrectly handle total/remaining counts in the presence of sent_transasctions... (diff)
downloadsynapse-18f82477011ee9279bde8ad995d654c116d3f652.tar.xz
Use TEXT instead of VARCHAR(n), since PostgreSQL treats them the same except for a limit
Diffstat (limited to 'synapse/storage/schema/schema_version.sql')
-rw-r--r--synapse/storage/schema/schema_version.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/schema_version.sql b/synapse/storage/schema/schema_version.sql
index d9494611e0..d682608aa0 100644
--- a/synapse/storage/schema/schema_version.sql
+++ b/synapse/storage/schema/schema_version.sql
@@ -22,6 +22,6 @@ CREATE TABLE IF NOT EXISTS schema_version(
 
 CREATE TABLE IF NOT EXISTS applied_schema_deltas(
     version INTEGER NOT NULL,
-    file VARCHAR(150) NOT NULL,
+    file TEXT NOT NULL,
     UNIQUE(version, file)
 );