diff options
Diffstat (limited to 'app/unused_apps/birds/migrations')
15 files changed, 0 insertions, 449 deletions
diff --git a/app/unused_apps/birds/migrations/0001_initial.py b/app/unused_apps/birds/migrations/0001_initial.py deleted file mode 100644 index b20387e..0000000 --- a/app/unused_apps/birds/migrations/0001_initial.py +++ /dev/null @@ -1,86 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-13 09:49 -from __future__ import unicode_literals - -import birds.models -from django.conf import settings -import django.contrib.gis.db.models.fields -from django.db import migrations, models -import django.db.models.deletion -import django.utils.timezone - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - #('locations', '__first__'), - migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ] - - operations = [ - migrations.CreateModel( - name='Bird', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('common_name', models.CharField(max_length=200)), - ('slug', models.SlugField()), - ('scientific_name', models.CharField(max_length=200)), - ('code', models.IntegerField(choices=[(1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0)), - ('image', models.FileField(blank=True, null=True, upload_to=birds.models.get_upload_path)), - ], - options={ - 'ordering': ['common_name'], - }, - ), - migrations.CreateModel( - name='BirdAudio', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('audio', models.FileField(upload_to='audio/birds/')), - ('recorder', models.CharField(blank=True, max_length=200, null=True)), - ('pub_date', models.DateTimeField()), - ('location', models.CharField(blank=True, max_length=200, null=True)), - ('link', models.CharField(blank=True, max_length=450, null=True)), - ('copyright', models.CharField(blank=True, max_length=250, null=True)), - ('bird', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='recordings', to='birds.Bird')), - ], - options={ - 'ordering': ['bird'], - 'verbose_name_plural': 'Bird Audio', - }, - ), - migrations.CreateModel( - name='BirdClass', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('common_name', models.CharField(max_length=200)), - ('scientific_name', models.CharField(max_length=200)), - ], - options={ - 'ordering': ['common_name'], - 'verbose_name_plural': 'Bird Class', - }, - ), - migrations.CreateModel( - name='BirdSighting', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('point', django.contrib.gis.db.models.fields.PointField(srid=4326)), - ('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date')), - ('image', models.FileField(blank=True, null=True, upload_to=birds.models.get_upload_path)), - ('bird', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='birds.Bird')), - ('location', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ('seen_by', models.ManyToManyField(to=settings.AUTH_USER_MODEL)), - ], - options={ - 'verbose_name_plural': 'Bird Sighting', - }, - ), - migrations.AddField( - model_name='bird', - name='bird_class', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='birds.BirdClass'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0002_auto_20160313_0953.py b/app/unused_apps/birds/migrations/0002_auto_20160313_0953.py deleted file mode 100644 index a2085ea..0000000 --- a/app/unused_apps/birds/migrations/0002_auto_20160313_0953.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-13 09:53 -from __future__ import unicode_literals - -import birds.models -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='bird', - name='image_credit', - field=models.CharField(blank=True, max_length=200, null=True), - ), - migrations.AlterField( - model_name='bird', - name='image', - field=models.FileField(blank=True, help_text='width of high res is 1360px', null=True, upload_to=birds.models.get_upload_path), - ), - ] diff --git a/app/unused_apps/birds/migrations/0003_birdsighting_images.py b/app/unused_apps/birds/migrations/0003_birdsighting_images.py deleted file mode 100644 index d20e8b7..0000000 --- a/app/unused_apps/birds/migrations/0003_birdsighting_images.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-20 08:02 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0007_auto_20160320_0802'), - ('birds', '0002_auto_20160313_0953'), - ] - - operations = [ - migrations.AddField( - model_name='birdsighting', - name='images', - field=models.ManyToManyField(to='photos.LuxImage'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0004_auto_20160321_1123.py b/app/unused_apps/birds/migrations/0004_auto_20160321_1123.py deleted file mode 100644 index 7672a18..0000000 --- a/app/unused_apps/birds/migrations/0004_auto_20160321_1123.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2016-03-21 11:23 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0003_birdsighting_images'), - ] - - operations = [ - migrations.RemoveField( - model_name='birdsighting', - name='image', - ), - migrations.AddField( - model_name='birdsighting', - name='audio', - field=models.ManyToManyField(to='birds.BirdAudio'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0005_auto_20170714_2222.py b/app/unused_apps/birds/migrations/0005_auto_20170714_2222.py deleted file mode 100644 index 8bdfb4b..0000000 --- a/app/unused_apps/birds/migrations/0005_auto_20170714_2222.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-07-14 22:22 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0004_auto_20160321_1123'), - ] - - operations = [ - migrations.AlterField( - model_name='birdsighting', - name='audio', - field=models.ManyToManyField(blank=True, null=True, to='birds.BirdAudio'), - ), - migrations.AlterField( - model_name='birdsighting', - name='images', - field=models.ManyToManyField(blank=True, null=True, to='photos.LuxImage'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0006_auto_20170714_2224.py b/app/unused_apps/birds/migrations/0006_auto_20170714_2224.py deleted file mode 100644 index bd4db82..0000000 --- a/app/unused_apps/birds/migrations/0006_auto_20170714_2224.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-07-14 22:24 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0005_auto_20170714_2222'), - ] - - operations = [ - migrations.AlterField( - model_name='birdsighting', - name='audio', - field=models.ManyToManyField(blank=True, to='birds.BirdAudio'), - ), - migrations.AlterField( - model_name='birdsighting', - name='images', - field=models.ManyToManyField(blank=True, to='photos.LuxImage'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py b/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py deleted file mode 100644 index a51776c..0000000 --- a/app/unused_apps/birds/migrations/0007_auto_20170821_1415.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-08-21 14:15 -from __future__ import unicode_literals - -import django.contrib.gis.db.models.fields -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0018_auto_20161130_1218'), - ('birds', '0006_auto_20170714_2224'), - ] - - operations = [ - migrations.AlterModelOptions( - name='birdsighting', - options={'get_latest_by': 'date', 'verbose_name_plural': 'Bird Sighting'}, - ), - migrations.RemoveField( - model_name='birdsighting', - name='images', - ), - migrations.AddField( - model_name='birdsighting', - name='image', - field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage'), - ), - migrations.AlterField( - model_name='birdsighting', - name='point', - field=django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326), - ), - ] diff --git a/app/unused_apps/birds/migrations/0008_auto_20170821_1418.py b/app/unused_apps/birds/migrations/0008_auto_20170821_1418.py deleted file mode 100644 index e5c80a4..0000000 --- a/app/unused_apps/birds/migrations/0008_auto_20170821_1418.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-08-21 14:18 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0007_auto_20170821_1415'), - ] - - operations = [ - migrations.RenameField( - model_name='birdsighting', - old_name='image', - new_name='images', - ), - ] diff --git a/app/unused_apps/birds/migrations/0009_auto_20170821_1429.py b/app/unused_apps/birds/migrations/0009_auto_20170821_1429.py deleted file mode 100644 index 840d7d3..0000000 --- a/app/unused_apps/birds/migrations/0009_auto_20170821_1429.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-08-21 14:29 -from __future__ import unicode_literals - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0008_auto_20170821_1418'), - ] - - operations = [ - migrations.RenameField( - model_name='birdsighting', - old_name='images', - new_name='image', - ), - ] diff --git a/app/unused_apps/birds/migrations/0010_auto_20170906_2100.py b/app/unused_apps/birds/migrations/0010_auto_20170906_2100.py deleted file mode 100644 index aada189..0000000 --- a/app/unused_apps/birds/migrations/0010_auto_20170906_2100.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-09-06 21:00 -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('photos', '0018_auto_20161130_1218'), - ('birds', '0009_auto_20170821_1429'), - ] - - operations = [ - migrations.RemoveField( - model_name='birdsighting', - name='image', - ), - migrations.AddField( - model_name='birdsighting', - name='images', - field=models.ManyToManyField(blank=True, to='photos.LuxImage'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0011_auto_20180126_1456.py b/app/unused_apps/birds/migrations/0011_auto_20180126_1456.py deleted file mode 100644 index d63cf10..0000000 --- a/app/unused_apps/birds/migrations/0011_auto_20180126_1456.py +++ /dev/null @@ -1,48 +0,0 @@ -# Generated by Django 2.0.1 on 2018-01-26 14:56 - -import birds.models -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0010_auto_20170906_2100'), - ] - - operations = [ - migrations.CreateModel( - name='AP', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('common_name', models.CharField(max_length=200)), - ('slug', models.SlugField()), - ('scientific_name', models.CharField(max_length=200)), - ('code', models.IntegerField(choices=[(1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0)), - ('image', models.FileField(blank=True, help_text='width of high res is 1360px', null=True, upload_to=birds.models.get_upload_path)), - ('image_credit', models.CharField(blank=True, max_length=200, null=True)), - ], - options={ - 'ordering': ['common_name'], - }, - ), - migrations.CreateModel( - name='APClass', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('common_name', models.CharField(max_length=200)), - ('scientific_name', models.CharField(max_length=200)), - ('kind', models.IntegerField(choices=[(1, 'Bird'), (2, 'Mammal'), (3, 'Reptile'), (4, 'Amphibian'), (5, 'Plant')], default=1)), - ], - options={ - 'verbose_name_plural': 'Animal/Plant Class', - 'ordering': ['kind', 'common_name'], - }, - ), - migrations.AddField( - model_name='ap', - name='apclass', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='birds.APClass'), - ), - ] diff --git a/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py b/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py deleted file mode 100644 index 307aa42..0000000 --- a/app/unused_apps/birds/migrations/0012_auto_20180126_1739.py +++ /dev/null @@ -1,44 +0,0 @@ -# Generated by Django 2.0.1 on 2018-01-26 17:39 - -from django.conf import settings -import django.contrib.gis.db.models.fields -from django.db import migrations, models -import django.db.models.deletion -import django.utils.timezone - - -class Migration(migrations.Migration): - - dependencies = [ - ('locations', '0002_checkin'), - ('photos', '0018_auto_20161130_1218'), - ('contenttypes', '0002_remove_content_type_name'), - migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ('birds', '0011_auto_20180126_1456'), - ] - - operations = [ - migrations.CreateModel( - name='Sighting', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('object_id', models.PositiveIntegerField()), - ('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)), - ('date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date')), - ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), - ('images', models.ManyToManyField(blank=True, to='photos.LuxImage')), - ('location', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')), - ('seen_by', models.ManyToManyField(to=settings.AUTH_USER_MODEL)), - ], - ), - migrations.AlterField( - model_name='ap', - name='code', - field=models.IntegerField(choices=[(0, 'unknown'), (1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0), - ), - migrations.AlterField( - model_name='bird', - name='code', - field=models.IntegerField(choices=[(0, 'unknown'), (1, 'regular occurring - common'), (2, 'regular occurring - less common'), (3, 'rare'), (4, 'casual'), (5, 'accidental'), (6, 'Cannot be found')], default=0), - ), - ] diff --git a/app/unused_apps/birds/migrations/0013_auto_20180126_2010.py b/app/unused_apps/birds/migrations/0013_auto_20180126_2010.py deleted file mode 100644 index 613597a..0000000 --- a/app/unused_apps/birds/migrations/0013_auto_20180126_2010.py +++ /dev/null @@ -1,28 +0,0 @@ -# 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, - ), - ] diff --git a/app/unused_apps/birds/migrations/0014_auto_20180128_0902.py b/app/unused_apps/birds/migrations/0014_auto_20180128_0902.py deleted file mode 100644 index 97791ef..0000000 --- a/app/unused_apps/birds/migrations/0014_auto_20180128_0902.py +++ /dev/null @@ -1,21 +0,0 @@ -# Generated by Django 2.0.1 on 2018-01-28 09:02 - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('birds', '0013_auto_20180126_2010'), - ] - - operations = [ - migrations.AlterModelOptions( - name='ap', - options={'ordering': ['common_name'], 'verbose_name': 'Animal/Plant', 'verbose_name_plural': 'Animal/Plant'}, - ), - migrations.AlterModelOptions( - name='sighting', - options={'ordering': ['date']}, - ), - ] diff --git a/app/unused_apps/birds/migrations/__init__.py b/app/unused_apps/birds/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/unused_apps/birds/migrations/__init__.py +++ /dev/null |