I get the following error when trying to update date the database via contrib/ast-db-manage/alembic -c config.ini upgrade head. Every previous update has always worked any idea what is wrong.
Harley Peters wrote:
What version of Alembic is installed and how did you install it – from a package or pip? A change may have gone in which somehow requires a newer version.
and what version of python-sqlalchemy?
Looks like the batch migration functionality went into alembic version
Kevin Harwell Digium, Inc. | Software Developer
445 Jan Davis Drive NW – Huntsville, AL 35806 – USA
Check us out at: http://digium.com & http://asterisk.org
Looks like the alembic version maybe to old.
It was SQLite that needed the batch processing. Let me see if I can find an alternative.
Harley, can you open a Jira issue for this?
Never done it before. Where url?
The issue tracker is located at https://issues.asterisk.org/jira and an account can be created using the site at https://signup.asterisk.org/
Don’t really see a category for it.
Asterisk is the project and you can leave the rest as-is. It’ll get changed if it makes sense.