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