Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/stabilize.59781.98.B
/
.
/
frontend
/
migrations
/
005_one_more_index.py
blob: 787c1c0bea199a3ee3209fc6ea0f264e75890dc4 [
file
] [
log
] [
blame
] [
edit
]
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'
)