<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 1, 2016 at 4:08 PM, George Joseph <span dir="ltr"><<a href="mailto:george.joseph@fairview5.com" target="_blank">george.joseph@fairview5.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial narrow,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Apr 1, 2016 at 3:06 PM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>Harley Peters wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I get the following error when trying to update date the database via<br>
contrib/ast-db-manage/alembic -c config.ini upgrade head.<br>
Every previous update has always worked any idea what is wrong.<br>
<br>
OS=Debian Jessie, fully up to date.<br>
</blockquote>
<br></span>
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.</blockquote><div><br></div></span><div><div style="font-family:"arial narrow",sans-serif">and what version of python-sqlalchemy?</div><br></div><span class=""><div> </div></span><br></div></div></div></blockquote></div><br></div><div class="gmail_extra">Looks like the batch migration functionality went into alembic version 0.7.0:<br><br><a href="http://alembic.readthedocs.org/en/latest/batch.html#batch-migrations">http://alembic.readthedocs.org/en/latest/batch.html#batch-migrations</a><br></div><div class="gmail_extra"> <br><div class="gmail_signature"><div dir="ltr"><pre style="padding:2px;border:1px solid rgb(114,99,77);background-color:rgb(238,238,238);color:rgb(0,0,0);overflow:auto">Kevin Harwell
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></pre></div></div>
</div></div>