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