Reduce maximum join address length to 191 characters

Affects issues:
- Fixed #2477
This commit is contained in:
Aurora Lahtela 2022-08-16 20:11:48 +03:00
parent 359a2bed0a
commit 68d6d10c39

View File

@ -27,7 +27,7 @@ public class JoinAddressTable {
public static final String TABLE_NAME = "plan_join_address";
public static final String ID = "id";
public static final String JOIN_ADDRESS = "join_address";
public static final int JOIN_ADDRESS_MAX_LENGTH = 250;
public static final int JOIN_ADDRESS_MAX_LENGTH = 191;
public static final String SELECT_ID = '(' + SELECT + ID + FROM + TABLE_NAME + WHERE + JOIN_ADDRESS + "=LOWER(?))";
public static final String INSERT_STATEMENT = "INSERT INTO " + TABLE_NAME +