Commit 70228aa7 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Add SubGRB search for sub-threshold Fermi GRB triggers

parent 8025f3a8
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-06-11 20:04
from __future__ import unicode_literals
from django.db import migrations
# Creates initial search instances
# Search names and descriptions
'name': 'SubGRB',
'description': 'Sub-threshold GRB events',
def add_search(apps, schema_editor):
Search = apps.get_model('events', 'Search')
# Create search
class Migration(migrations.Migration):
dependencies = [
('events', '0033_pipelinelog_and_pipeline_enabled'),
operations = [
migrations.RunPython(add_search, migrations.RunPython.noop),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment