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
voicemail
versions
64fae6bbe7fb_drop_redundant_index.py
Go to the documentation of this file.
1
"""Drop redundant index
2
3
Revision ID: 64fae6bbe7fb
4
Revises: 1c55c341360f
5
Create Date: 2024-09-26 16:17:12.732445
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'64fae6bbe7fb'
11
down_revision =
'1c55c341360f'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade
():
18
with
op.batch_alter_table(
'voicemail_messages'
)
as
batch_op:
19
batch_op.drop_index(
'voicemail_messages_dir'
)
20
21
22
def
downgrade
():
23
with
op.batch_alter_table(
'voicemail_messages'
)
as
batch_op:
24
batch_op.create_index(
'voicemail_messages_dir'
, [
'dir'
])
64fae6bbe7fb_drop_redundant_index.upgrade
def upgrade()
Definition:
64fae6bbe7fb_drop_redundant_index.py:17
64fae6bbe7fb_drop_redundant_index.downgrade
def downgrade()
Definition:
64fae6bbe7fb_drop_redundant_index.py:22
Generated on Wed Jan 1 2025 20:04:22 for Asterisk - The Open Source Telephony Project by
1.9.4