summaryrefslogtreecommitdiff
path: root/app/planner/migrations/0003_trip.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/planner/migrations/0003_trip.py')
-rw-r--r--app/planner/migrations/0003_trip.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/planner/migrations/0003_trip.py b/app/planner/migrations/0003_trip.py
new file mode 100644
index 0000000..41d410c
--- /dev/null
+++ b/app/planner/migrations/0003_trip.py
@@ -0,0 +1,22 @@
+# Generated by Django 3.2.5 on 2021-08-15 18:55
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('planner', '0002_auto_20210725_1548'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Trip',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=200)),
+ ('date', models.DateField()),
+ ('slug', models.SlugField(unique_for_date='pub_date')),
+ ],
+ ),
+ ]