diff options
Diffstat (limited to 'app/sightings/migrations/0009_fieldnote.py')
-rw-r--r-- | app/sightings/migrations/0009_fieldnote.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/sightings/migrations/0009_fieldnote.py b/app/sightings/migrations/0009_fieldnote.py new file mode 100644 index 0000000..2365936 --- /dev/null +++ b/app/sightings/migrations/0009_fieldnote.py @@ -0,0 +1,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'], + }, + ), + ] |