<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6433">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">alembic: Add dtls_fingerprint column in ps_endpoints table<br><br>The ps_endpoints table was missing the dtls_fingerprint column<br>introduced with commit adba2a8d7fd.<br><br>ASTERISK-27168 #close<br><br>Change-Id: I9cb5006f7f50718b5239919562773adabb334cfd<br>---<br>A contrib/ast-db-manage/config/versions/b83645976fdd_add_dtls_fingerprint_to_ps_endpoints.py<br>1 file changed, 23 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/33/6433/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/contrib/ast-db-manage/config/versions/b83645976fdd_add_dtls_fingerprint_to_ps_endpoints.py b/contrib/ast-db-manage/config/versions/b83645976fdd_add_dtls_fingerprint_to_ps_endpoints.py<br>new file mode 100644<br>index 0000000..962ec7a<br>--- /dev/null<br>+++ b/contrib/ast-db-manage/config/versions/b83645976fdd_add_dtls_fingerprint_to_ps_endpoints.py<br>@@ -0,0 +1,23 @@<br>+"""add dtls_fingerprint to ps_endpoints<br>+<br>+Revision ID: b83645976fdd<br>+Revises: 44ccced114ce<br>+Create Date: 2017-08-03 09:01:49.558111<br>+<br>+"""<br>+<br>+# revision identifiers, used by Alembic.<br>+revision = 'b83645976fdd'<br>+down_revision = '44ccced114ce'<br>+<br>+from alembic import op<br>+import sqlalchemy as sa<br>+from sqlalchemy.dialects.postgresql import ENUM<br>+<br>+SHA_HASH_VALUES = ['SHA-1', 'SHA-256']<br>+<br>+def upgrade():<br>+    op.add_column('ps_endpoints', sa.Column('dtls_fingerprint', sa.Enum(*SHA_HASH_VALUES, name='sha_hash_values')))<br>+<br>+def downgrade():<br>+    op.drop_column('ps_endpoints', 'dtls_fingerprint')<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6433">change 6433</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/6433"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15.0 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9cb5006f7f50718b5239919562773adabb334cfd </div>
<div style="display:none"> Gerrit-Change-Number: 6433 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Florian Floimair <f.floimair@commend.com> </div>