ephraimbuddy commented on code in PR #24044:
URL: https://github.com/apache/airflow/pull/24044#discussion_r893286457
##########
airflow/models/variable.py:
##########
@@ -47,7 +48,7 @@ class Variable(Base, LoggingMixin):
id = Column(Integer, primary_key=True)
key = Column(String(ID_LEN), unique=True)
- _val = Column('val', Text)
+ _val = Column('val', Text().with_variant(MEDIUMTEXT, 'mysql'))
Review Comment:
Same here. MySQL was changed to MEDIUMTEXT in the DB:
https://github.com/apache/airflow/blob/main/airflow/migrations/versions/0026_1_8_2_increase_text_size_for_mysql.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]