Commit f8aaedd8 authored by Dennis Appel's avatar Dennis Appel

Heroku DB Workaround

parent 0b5356d2
# Generated by Django 2.1.3 on 2018-12-12 16:48
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('checklist', '0003_auto_20181212_1539'),
]
operations = [
migrations.AlterField(
model_name='checklistentry',
name='checklistCategory',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='checklist.CheckListCategory'),
),
]
......@@ -15,7 +15,7 @@ class CheckListEntry(models.Model):
wikiEntry = models.ForeignKey(
'wiki.WikiEntry', on_delete=models.SET_NULL, blank=True, null=True)
checklistCategory = models.ForeignKey(
'checklist.CheckListCategory', on_delete=models.SET_DEFAULT, default=1)
'checklist.CheckListCategory', on_delete=models.CASCADE)
checkListEntryTitle = models.CharField(max_length=200)
checkListEntrySeverity = models.CharField(max_length=10)
checkListEntryDescription = models.TextField()
......
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