<p>Florian Floimair has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6426">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">alembic: fix erroneous commit for add_prune_on_boot<br><br>Added include for postgresql ENUM type and<br>redefined values in the same way as in the<br>other migration scripts.<br><br>ASTERISK-27254 #close<br><br>Change-Id: Id667304cdf3891b1c2f7d35fab3e2a84026159fa<br>---<br>M contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/26/6426/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py b/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py<br>index fe9c35e..bea1673 100644<br>--- a/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py<br>+++ b/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py<br>@@ -12,7 +12,10 @@<br> <br> from alembic import op<br> import sqlalchemy as sa<br>+from sqlalchemy.dialects.postgresql import ENUM<br> <br>+YESNO_NAME = 'yesno_values'<br>+YESNO_VALUES = ['yes', 'no']<br> <br> def upgrade():<br> ############################# Enums ##############################<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6426">change 6426</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6426"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id667304cdf3891b1c2f7d35fab3e2a84026159fa </div>
<div style="display:none"> Gerrit-Change-Number: 6426 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Florian Floimair <f.floimair@commend.com> </div>