Can I ignore it when the result of the generation is empty?

2019-01-11 Thread jackadam1981
Can I ignore it when the result of the generation is empty? I use it in docker, there is a startup command to upgrade the database version to the latest. The database version is updated at startup and a record update version_num is generated. Sorry for my bad English from alembic import op

is this a bug ?target_metadata

2018-03-24 Thread jackadam1981
myproject just like this: ├─migrate │ ├─versions │ │ └─94d0834e4282_.py │ │ └─__pycache__ │ └─evn.py │ └─README │ └─evn.py │ └─cript.py.mako ├─models │ └─test1.py │ └─test2.py │ └─test3.py ├─__pycache__ ├─alembic.ini ├─database.py └─main.py database.py: from sqlalchemy