Files
Android11/external/autotest/frontend/migrations/084_convert_metahost_to_label.py
2023-10-13 14:01:41 +00:00

9 lines
217 B
Python

UP_SQL = """
INSERT INTO afe_jobs_dependency_labels (job_id, label_id)
SELECT job_id, meta_host FROM afe_host_queue_entries
WHERE NOT complete AND NOT active AND status="Queued" AND NOT aborted;
"""
DOWN_SQL="""
"""