~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/5813202e92be_add_contact_expiration_check_interval_.py -rw-r--r-- 492 bytes
fe6d69c0Stephen Paul Weber import-tar 1 year, 4 months ago
                                                                                
130ba7ae Bernhard Schmidt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Add contact_expiration_check_interval to ps_globals

Revision ID: 5813202e92be
Revises: 3bcc0b5bc2c9
Create Date: 2016-03-08 21:52:21.372310

"""

# revision identifiers, used by Alembic.
revision = '5813202e92be'
down_revision = '3bcc0b5bc2c9'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('ps_globals', sa.Column('contact_expiration_check_interval', sa.Integer))

def downgrade():
    op.drop_column('ps_globals', 'contact_expiration_check_interval')