summaryrefslogtreecommitdiff
path: root/app/sightings/migrations/0009_fieldnote.py
blob: 23659364fb1e5cc5db568ad39aa0137181ed8b80 (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
# Generated by Django 2.1.5 on 2019-02-17 16:15

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


class Migration(migrations.Migration):

    dependencies = [
        ('sightings', '0008_auto_20190217_1441'),
    ]

    operations = [
        migrations.CreateModel(
            name='FieldNote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('body_html', models.TextField(blank=True, null=True)),
                ('body_markdown', models.TextField(blank=True, null=True)),
                ('sighting', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sightings.Sighting')),
            ],
            options={
                'ordering': ['sighting__pub_date'],
            },
        ),
    ]