You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/06 12:48:46 UTC

[GitHub] [airflow] kaxil commented on pull request #13278: fix dag run type enum query for mysqldb driver

kaxil commented on pull request #13278:
URL: https://github.com/apache/airflow/pull/13278#issuecomment-755280441


   I still feel migration is the best place.
   
   >For the db fix up, I am thinking that alembic might not be the right tool since it's supposed to be ran before deploying the application code. If we fix up the value through alembic, the existing code could still write invalid values into the db until it has been replaced by new code.
   
   
   Once a new version is released (i.e 2.0.1) -- first step is to run migration at which point the application code uses the new code -- so I don't think it will have invalid values.. unless I am missing something.
   
   It can happen in a separate PR -- sure but not sure if we should do it outside of alembic


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org