summaryrefslogtreecommitdiff
path: root/app/planner/migrations/0005_auto_20220206_1109.py
blob: dee19bff0a9972bb81e7ccabca68183518c8256c (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
29
30
31
32
33
34
35
36
37
38
39
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'),
        ),
    ]