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