When I updated sqlalchemy from version 0.7.9 to current one, my mediumtext text type works in Sqlite and Mysql, but doesn't work for Postgresql DB server anymore. I defined:
mediumtextsize = 2**24 - 1 in my data module. When I run: alembic upgrade head, I got
sqlalchemy.exc.ProgrammingError: (ProgrammingError) type modifier is not allowed for type "text"
LINE 6: status TEXT(16777215),
Not sure what is going on there, does anybody else here has some issue?
Thanks and Happy New Year!
LYH