Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
4105ee839f58_create_queue_log_table Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

 branch_labels = None
 
 depends_on = None
 
 down_revision = None
 
string revision = '4105ee839f58'
 

Function Documentation

◆ downgrade()

def 4105ee839f58_create_queue_log_table.downgrade ( )

Definition at line 37 of file 4105ee839f58_create_queue_log_table.py.

37 def downgrade():
38  op.drop_table('queue_log')

◆ upgrade()

def 4105ee839f58_create_queue_log_table.upgrade ( )

Definition at line 19 of file 4105ee839f58_create_queue_log_table.py.

19 def upgrade():
20  op.create_table(
21  'queue_log',
22  sa.Column('id', sa.BigInteger, primary_key=True, nullable=False,
23  unique=True, autoincrement=True),
24  sa.Column('time', sa.DateTime()),
25  sa.Column('callid', sa.String(80)),
26  sa.Column('queuename', sa.String(256)),
27  sa.Column('agent', sa.String(80)),
28  sa.Column('event', sa.String(32)),
29  sa.Column('data1', sa.String(100)),
30  sa.Column('data2', sa.String(100)),
31  sa.Column('data3', sa.String(100)),
32  sa.Column('data4', sa.String(100)),
33  sa.Column('data5', sa.String(100))
34  )
35 
36 

Variable Documentation

◆ branch_labels

branch_labels = None

Definition at line 12 of file 4105ee839f58_create_queue_log_table.py.

◆ depends_on

depends_on = None

Definition at line 13 of file 4105ee839f58_create_queue_log_table.py.

◆ down_revision

down_revision = None

Definition at line 11 of file 4105ee839f58_create_queue_log_table.py.

◆ revision

string revision = '4105ee839f58'

Definition at line 10 of file 4105ee839f58_create_queue_log_table.py.