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


   > What does this do if someone is running on mainline already? (I think 
@houqp is for instance)
   
   Things would run fine but when `airflow db upgrade` is run it would error 
out with the following message:
   
   ```
   ❯ airflow db upgrade
   DB: sqlite:////Users/kaxilnaik/airflow_main/airflow.db
   [2020-07-05 16:14:18,566] {db.py:608} INFO - Creating tables
   INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
   INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
   INFO  [alembic.runtime.migration] Running upgrade a66efa278eea -> 
cf5dc11e79ad, drop_user_and_chart
   ....
   ....
   ....
   sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: 
chart
   ```
   
   Well, the "master/develop" branch is supposed to be bleeding edge and should 
not be used in production. If someone does it, it is at some risk.
   
   I can definitely add some safety checks so it still works for users that 
were working with Master/Mainline.
   
   


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