1def migrate_up(manager):
2    manager.execute('CREATE INDEX test_labels_tests_test_id '
3                    'ON test_labels_tests (test_id)')
4
5
6def migrate_down(manager):
7    manager.execute('DROP INDEX test_labels_tests_test_id ON test_labels_tests')
8