blob: 3ad26509b25354c9713b357ca1791b101e619272 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
"""Add RTP keepalive
Revision ID: 498357a710ae
Revises: 28b8e71e541f
Create Date: 2015-07-10 16:42:12.244421
"""
# revision identifiers, used by Alembic.
revision = '498357a710ae'
down_revision = '28b8e71e541f'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('ps_endpoints', sa.Column('rtp_keepalive', sa.Integer))
def downgrade():
with op.batch_alter_table('ps_endpoints') as batch_op:
batch_op.drop_column('rtp_keepalive')
|