Homec4science

sqlalchemy: JSON MySQL storage type fix

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Apr 14 2014, 15:40.

Description

sqlalchemy: JSON MySQL storage type fix

  • Fixes issue with MySQL data type used by SQLAlchemy JSONType by changing the MySQL data type from TEXT to LONGTEXT. The TEXT data type supports only storage of 64k whereas LONGTEXT supports storage of 4gb.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>

Details

Committed
kuncarJun 4 2014, 16:05
Parents
R3600:1fbb3eb22780: records: PEP8 errors fix
Branches
Unknown
Tags
Unknown

Event Timeline

Jiri Kuncar <jiri.kuncar@cern.ch> committed R3600:c5ff4e6d2b3a: sqlalchemy: JSON MySQL storage type fix (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Jun 4 2014, 16:05