diff options
author | David Baker <dave@matrix.org> | 2017-02-17 10:51:49 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-02-17 10:51:49 +0000 |
commit | 4aa29508af2ac9ac07f91a33d5d682b4b5815a9c (patch) | |
tree | 35827c48bf5813c1c85a39f4ddeaa21aad2931b1 /synapse | |
parent | Make the pushers lang field column longer (diff) | |
download | synapse-4aa29508af2ac9ac07f91a33d5d682b4b5815a9c.tar.xz |
Use TEXT rather than VARCHAR
While we're changing anyway
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/schema/delta/40/pushers.sql | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/storage/schema/delta/40/pushers.sql b/synapse/storage/schema/delta/40/pushers.sql index 7e34927efa..054a223f14 100644 --- a/synapse/storage/schema/delta/40/pushers.sql +++ b/synapse/storage/schema/delta/40/pushers.sql @@ -17,14 +17,14 @@ CREATE TABLE IF NOT EXISTS pushers2 ( id BIGINT PRIMARY KEY, user_name TEXT NOT NULL, access_token BIGINT DEFAULT NULL, - profile_tag VARCHAR(32) NOT NULL, - kind VARCHAR(8) NOT NULL, - app_id VARCHAR(64) NOT NULL, - app_display_name VARCHAR(64) NOT NULL, - device_display_name VARCHAR(128) NOT NULL, + profile_tag TEXT NOT NULL, + kind TEXT NOT NULL, + app_id TEXT NOT NULL, + app_display_name TEXT NOT NULL, + device_display_name TEXT NOT NULL, pushkey TEXT NOT NULL, ts BIGINT NOT NULL, - lang VARCHAR(16), + lang TEXT, data TEXT, last_stream_ordering INTEGER, last_success BIGINT, |