I use a tutorial for flask and make alembic.ini like "flask db init" and after I have this files structure:
alembic.ini
env.py # and this must be found at the script_location
script.py.mako
versions/
0000001_.py
And I thought to use alembic without flask too. So, I get other problem, in alembic.ini I don't have script_location. I read doc for this param and they write:
[alembic]
script_location = alembic
But I have other files structure (see above).
What should I write in script_location in alembic.ini or can I call alembic in console with that param?
And I have Win and Linux OS.
question from:
https://stackoverflow.com/questions/65879525/flask-and-alembic-script-location-for-migrate 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…