diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-28 12:41:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-28 12:41:33 +0100 |
commit | 18f82477011ee9279bde8ad995d654c116d3f652 (patch) | |
tree | e7f351c8597515399195754507e777050ade8016 /synapse/storage/schema/schema_version.sql | |
parent | Correctly handle total/remaining counts in the presence of sent_transasctions... (diff) | |
download | synapse-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.sql | 2 |
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) ); |