diff --git a/gracedb/migrations/0023_populate_event_pipeline_and_search.py b/gracedb/migrations/0023_populate_event_pipeline_and_search.py index ffec48cccda255dbddde015b508662b446f3ed5d..575aae5de08eb1bce884836dc0ac400bf5838005 100644 --- a/gracedb/migrations/0023_populate_event_pipeline_and_search.py +++ b/gracedb/migrations/0023_populate_event_pipeline_and_search.py @@ -61,7 +61,7 @@ class Migration(DataMigration): # to the pipeline, and leave the search blank. elif event.analysisType=="CWB": event.pipeline = orm.Pipeline.objects.get(name='CWB') - event.searhc = orm.Search.objects.get(name='AllSky') + event.search = orm.Search.objects.get(name='AllSky') elif event.analysisType in ANALYSIS_TYPE_TO_PIPELINE.keys(): pipeline_name = ANALYSIS_TYPE_TO_PIPELINE[event.analysisType] event.pipeline = orm.Pipeline.objects.get(name=pipeline_name)