summaryrefslogtreecommitdiff
path: root/app/unused_apps/birds/migrations/0013_auto_20180126_2010.py
blob: 613597a1d06c66d791a860608e85f333cefc5b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Generated by Django 2.0.1 on 2018-01-26 20:10

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('birds', '0012_auto_20180126_1739'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='sighting',
            name='content_type',
        ),
        migrations.RemoveField(
            model_name='sighting',
            name='object_id',
        ),
        migrations.AddField(
            model_name='sighting',
            name='ap',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='birds.AP'),
            preserve_default=False,
        ),
    ]