summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
authorMartin Kraft <mkraft@users.noreply.github.com>2018-01-26 08:37:12 -0500
committerJoram Wilander <jwawilander@gmail.com>2018-01-26 08:37:12 -0500
commit540dd9ae942787279c2fe439a9182223c1a11d2c (patch)
treeb0c75353c94b2eda4a54550a53456b9d53c3c34e /model/user.go
parent3da2dad98935a4a08a4884d352280c814c86de84 (diff)
downloadchat-540dd9ae942787279c2fe439a9182223c1a11d2c.tar.gz
chat-540dd9ae942787279c2fe439a9182223c1a11d2c.tar.bz2
chat-540dd9ae942787279c2fe439a9182223c1a11d2c.zip
XYZ-32: Increases size of position to 128 characters. (#8148)
* XYZ-32: Changes type of 'position' column on 'users' table. * XYZ-32: Uncomment to run on CI and pre-release. * XYZ-32: Reverts translation changes. * XYZ-32: Fix for gofmt.
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/user.go b/model/user.go
index 7e767fd5c..4c08eac24 100644
--- a/model/user.go
+++ b/model/user.go
@@ -39,7 +39,7 @@ const (
USER_EMAIL_MAX_LENGTH = 128
USER_NICKNAME_MAX_RUNES = 64
- USER_POSITION_MAX_RUNES = 64
+ USER_POSITION_MAX_RUNES = 128
USER_FIRST_NAME_MAX_RUNES = 64
USER_LAST_NAME_MAX_RUNES = 64
USER_AUTH_DATA_MAX_LENGTH = 128