Homec4science

global: PostgreSQL Text type compatibility fix

Authored by Leonardo Rossi <leonardo.r@cern.ch> on May 4 2015, 10:33.

Description

global: PostgreSQL Text type compatibility fix

  • BETTER Improves compatibility of Text fields in PostrgeSQL by changing Text in models and removes Invenio hacks on MySQL Index and Primary Key creation because starting from SQLAlchemy>=1.0 it arises an exception if the length is specified. (addresses #3037)
  • Updates minimum Flask-Admin version to 1.1.0.
  • PEP8/257 code style improvements.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>

Details

Committed
Leonardo Rossi <leonardo.r@cern.ch>May 4 2015, 15:52
Parents
R3600:30f7f0bbe915: Merge branch 'maint-2.0'
Branches
Unknown
Tags
Unknown

Event Timeline

Leonardo Rossi <leonardo.r@cern.ch> committed R3600:47e2031f6d9b: global: PostgreSQL Text type compatibility fix (authored by Leonardo Rossi <leonardo.r@cern.ch>).May 4 2015, 15:52