Asterisk - The Open Source Telephony Project GIT-master-abe0018
24c12d8e9014_add_user_agent_header_to_ps_.py
Go to the documentation of this file.
1"""add user-agent-header to ps_registrations
2
3Revision ID: 24c12d8e9014
4Revises: 37a5332640e2
5Create Date: 2024-01-05 14:14:47.510917
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '24c12d8e9014'
11down_revision = '37a5332640e2'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def upgrade():
18 op.add_column('ps_registrations', sa.Column('user_agent', sa.String(255)))
19
20
22 op.drop_column('ps_registrations', 'user_agent')