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