diff options
Diffstat (limited to 'app/planner/migrations/0005_auto_20220206_1109.py')
-rw-r--r-- | app/planner/migrations/0005_auto_20220206_1109.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/planner/migrations/0005_auto_20220206_1109.py b/app/planner/migrations/0005_auto_20220206_1109.py new file mode 100644 index 0000000..dee19bf --- /dev/null +++ b/app/planner/migrations/0005_auto_20220206_1109.py @@ -0,0 +1,40 @@ +# Generated by Django 3.2.7 on 2022-02-06 11:09 + +import django.contrib.gis.db.models.fields +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('planner', '0004_auto_20210815_1856'), + ] + + operations = [ + migrations.CreateModel( + name='CampIdea', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=200)), + ('slug', models.SlugField(blank=True, null=True)), + ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)), + ('notes', models.TextField(blank=True, null=True)), + ('notes_html', models.TextField(blank=True, null=True)), + ('date_added', models.DateField(auto_now_add=True)), + ], + options={ + 'ordering': ('date_added',), + 'get_latest_by': 'date_added', + }, + ), + migrations.AlterField( + model_name='camp', + name='slug', + field=models.SlugField(blank=True, null=True), + ), + migrations.AlterField( + model_name='trip', + name='slug', + field=models.SlugField(unique_for_date='date'), + ), + ] |