Fixed nickname data truncation on MySQL

This commit is contained in:
Rsl1122 2018-08-09 15:29:08 +03:00
parent 6ebf221ce3
commit bc79d72fea

View File

@ -21,7 +21,7 @@ public class Nickname implements DateHolder {
} }
public String getName() { public String getName() {
return name; return name.length() <= 75 ? name : name.substring(0, 74);
} }
@Override @Override