Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
voicemail
versions
1c55c341360f_remove_macrocontext_field.py
Go to the documentation of this file.
1
"""Remove macrocontext field
2
3
Revision ID: 1c55c341360f
4
Revises: 39428242f7f5
5
Create Date: 2024-01-09 15:01:39.698918
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'1c55c341360f'
11
down_revision =
'39428242f7f5'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade
():
18
op.drop_column(
'voicemail_messages'
,
'macrocontext'
)
19
20
21
def
downgrade
():
22
op.add_column(
'voicemail_messages'
, sa.Column(
'macrocontext'
, sa.String(80)))
1c55c341360f_remove_macrocontext_field.upgrade
def upgrade()
Definition:
1c55c341360f_remove_macrocontext_field.py:17
1c55c341360f_remove_macrocontext_field.downgrade
def downgrade()
Definition:
1c55c341360f_remove_macrocontext_field.py:21
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4