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:
[email protected]


Reply via email to