Asterisk - The Open Source Telephony Project
GIT-master-3dee037
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
contrib
ast-db-manage
queue_log
versions
4105ee839f58_create_queue_log_table.py
Go to the documentation of this file.
1
"""create queue_log table
2
3
Revision ID: 4105ee839f58
4
Revises: None
5
Create Date: 2016-09-30 22:32:45.918340
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'4105ee839f58'
11
down_revision =
None
12
branch_labels =
None
13
depends_on =
None
14
15
from
alembic
import
op
16
import
sqlalchemy
as
sa
17
18
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
37
def
downgrade
():
38
op.drop_table(
'queue_log'
)
4105ee839f58_create_queue_log_table.upgrade
def upgrade()
Definition:
4105ee839f58_create_queue_log_table.py:19
4105ee839f58_create_queue_log_table.downgrade
def downgrade()
Definition:
4105ee839f58_create_queue_log_table.py:37
Generated on Wed Jan 1 2025 20:04:22 for Asterisk - The Open Source Telephony Project by
1.9.4