Skip to content
Snippets Groups Projects
Commit 7e86682e authored by Alexander Pace's avatar Alexander Pace
Browse files

This is the last migrations commit.

Neglecting to create and apply the voevents migration to the 'events'
model would cause gracedb's tests to fail.
parent 221aab7f
No related branches found
No related tags found
1 merge request!29Python3
Pipeline #88368 passed
# -*- coding: utf-8 -*-
# Generated by Django 1.11.23 on 2019-11-12 21:18
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0040_auto_20190919_1957'),
]
operations = [
migrations.AddField(
model_name='voevent',
name='combined_skymap_filename',
field=models.CharField(blank=True, default=None, max_length=100, null=True),
),
migrations.AddField(
model_name='voevent',
name='delta_t',
field=models.FloatField(blank=True, default=None, null=True, validators=[django.core.validators.MinValueValidator(-1000), django.core.validators.MaxValueValidator(1000)]),
),
migrations.AddField(
model_name='voevent',
name='ext_gcn',
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
name='ext_pipeline',
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
name='ext_search',
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
name='raven_coinc',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='voevent',
name='space_coinc_far',
field=models.FloatField(blank=True, default=None, null=True, validators=[django.core.validators.MinValueValidator(0.0)]),
),
migrations.AddField(
model_name='voevent',
name='time_coinc_far',
field=models.FloatField(blank=True, default=None, null=True, validators=[django.core.validators.MinValueValidator(0.0)]),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.11.23 on 2019-11-12 20:04
# Generated by Django 1.11.23 on 2019-11-12 21:18
from __future__ import unicode_literals
import django.core.validators
......@@ -17,7 +17,6 @@ class Migration(migrations.Migration):
model_name='superevent',
name='coinc_far',
field=models.FloatField(blank=True, null=True),
preserve_default=False,
),
migrations.AddField(
model_name='superevent',
......@@ -37,17 +36,17 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='voevent',
name='ext_gcn',
field=models.CharField(blank=True, default='', editable=False, max_length=100),
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
name='ext_pipeline',
field=models.CharField(blank=True, default='', editable=False, max_length=100),
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
name='ext_search',
field=models.CharField(blank=True, default='', editable=False, max_length=100),
field=models.CharField(blank=True, default='', editable=False, max_length=20),
),
migrations.AddField(
model_name='voevent',
......
......@@ -119,7 +119,7 @@ class Superevent(CleanSaveModel, AutoIncrementModel):
is_exposed = models.BooleanField(default=False)
# New O3b fields for RAVEN:
coinc_far = models.FloatField(null=False, blank=True)
coinc_far = models.FloatField(null=True, blank=True)
em_type = models.CharField(blank=True, null=True, max_length=100)
# Meta class --------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment