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