Asterisk - The Open Source Telephony Project
18.5.0
contrib
ast-db-manage
config
versions
189a235b3fd7_add_keep_alive_interval.py
Go to the documentation of this file.
1
"""add_keep_alive_interval
2
3
Revision ID: 189a235b3fd7
4
Revises: 28ce1e718f05
5
Create Date: 2015-12-16 11:23:16.994523
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'189a235b3fd7'
11
down_revision =
'339a3bdf53fc'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade
():
18
op.add_column(
'ps_globals'
, sa.Column(
'keep_alive_interval'
, sa.Integer))
19
20
21
def
downgrade
():
22
op.drop_column(
'ps_globals'
,
'keep_alive_interval'
)
189a235b3fd7_add_keep_alive_interval.downgrade
def downgrade()
Definition:
189a235b3fd7_add_keep_alive_interval.py:21
189a235b3fd7_add_keep_alive_interval.upgrade
def upgrade()
Definition:
189a235b3fd7_add_keep_alive_interval.py:17
Generated on Sun Aug 8 2021 19:42:56 for Asterisk - The Open Source Telephony Project by
1.8.13