Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
801b9fced8b7_add_generator_data_to_ps_subscription_ Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '655054a68ad5'
 
string revision = '801b9fced8b7'
 

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 22 of file 801b9fced8b7_add_generator_data_to_ps_subscription_.py.

22def downgrade():
23 with op.batch_alter_table('ps_subscription_persistence') as batch_op:
24 batch_op.drop_column('generator_data')

◆ upgrade()

def upgrade ( )

Definition at line 17 of file 801b9fced8b7_add_generator_data_to_ps_subscription_.py.

17def upgrade():
18 with op.batch_alter_table('ps_subscription_persistence') as batch_op:
19 batch_op.add_column(sa.Column('generator_data', sa.UnicodeText))
20
21

Variable Documentation

◆ down_revision

string down_revision = '655054a68ad5'

◆ revision

string revision = '801b9fced8b7'