Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
4aab9a9683d2f0a0dbc2f6cdf25f83b987b8b08d
/
.
/
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'
)