Sign in
chromium
/
chromiumos
/
third_party
/
autotest
/
d2103cc4cedd79a8e3218028504cbc2df1d3d9f4
/
.
/
frontend
/
migrations
/
005_one_more_index.py
blob: 787c1c0bea199a3ee3209fc6ea0f264e75890dc4 [
file
] [
log
] [
blame
]
def
migrate_up
(
manger
):
manger
.
execute
(
'CREATE INDEX hosts_labels_host_id ON hosts_labels '
'(host_id)'
)
def
migrate_down
(
manger
):
manger
.
execute
(
'DROP INDEX hosts_labels_host_id ON hosts_labels'
)