Asterisk - The Open Source Telephony Project GIT-master-abe0018
5813202e92be_add_contact_expiration_check_interval_.py
Go to the documentation of this file.
1"""Add contact_expiration_check_interval to ps_globals
2
3Revision ID: 5813202e92be
4Revises: 3bcc0b5bc2c9
5Create Date: 2016-03-08 21:52:21.372310
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '5813202e92be'
11down_revision = '3bcc0b5bc2c9'
12
13from alembic import op
14import sqlalchemy as sa
15
16def upgrade():
17 op.add_column('ps_globals', sa.Column('contact_expiration_check_interval', sa.Integer))
18
20 op.drop_column('ps_globals', 'contact_expiration_check_interval')