Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
config
versions
655054a68ad5_add_pjsip_tenantid.py
Go to the documentation of this file.
1
"""add pjsip tenantid
2
3
Revision ID: 655054a68ad5
4
Revises: 2b7c507d7d12
5
Create Date: 2024-06-11 11:18:41.466929
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'655054a68ad5'
11
down_revision =
'2b7c507d7d12'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade
():
18
op.add_column(
'ps_endpoints'
, sa.Column(
'tenantid'
, sa.String(80)))
19
20
21
def
downgrade
():
22
op.drop_column(
'ps_endpoints'
,
'tenantid'
)
655054a68ad5_add_pjsip_tenantid.upgrade
def upgrade()
Definition:
655054a68ad5_add_pjsip_tenantid.py:17
655054a68ad5_add_pjsip_tenantid.downgrade
def downgrade()
Definition:
655054a68ad5_add_pjsip_tenantid.py:21
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4