[Asterisk-code-review] alembic: Fix errors during upgrade head. (...asterisk[13])
Kevin Harwell
asteriskteam at digium.com
Wed Mar 27 16:56:59 CDT 2019
Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/11183 )
Change subject: alembic: Fix errors during upgrade head.
......................................................................
Patch Set 1: Code-Review-1
I also ran this against mysql Ver 14.14 Distrib 5.7.25 for kicks and upgrading worked fine. However, downgrading I received the following error (alembic version 1.0.8):
File "/home/kharwell/src/asterisk/13/contrib/ast-db-manage/config/versions/f3c0b8695b66_taskprocessor_overload_trigger.py", line 38, in downgrade
if context.bind.dialect.name == 'postgresql':
NameError: global name 'context' is not defined
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11183
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Ib4d70cf3ce5080023a50be496272a777b55d6c8e
Gerrit-Change-Number: 11183
Gerrit-PatchSet: 1
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Wed, 27 Mar 2019 21:56:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190327/f22a6fa6/attachment.html>
More information about the asterisk-code-review
mailing list