diff options
Diffstat (limited to 'bak/unused_apps/trips/migrations')
-rw-r--r-- | bak/unused_apps/trips/migrations/0001_initial.py | 31 | ||||
-rw-r--r-- | bak/unused_apps/trips/migrations/__init__.py | 0 |
2 files changed, 31 insertions, 0 deletions
diff --git a/bak/unused_apps/trips/migrations/0001_initial.py b/bak/unused_apps/trips/migrations/0001_initial.py new file mode 100644 index 0000000..3d3c222 --- /dev/null +++ b/bak/unused_apps/trips/migrations/0001_initial.py @@ -0,0 +1,31 @@ +# Generated by Django 2.1.7 on 2019-06-15 09:17 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('locations', '0018_auto_20190414_2124'), + ] + + operations = [ + migrations.CreateModel( + name='Trip', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('title', models.CharField(max_length=50)), + ('subtitle', models.CharField(blank=True, max_length=200)), + ('slug', models.SlugField(unique_for_date='pub_date')), + ('dek_markdown', models.TextField()), + ('dek_html', models.TextField(blank=True, null=True)), + ('pub_date', models.DateTimeField(verbose_name='Date published')), + ('start_date', models.DateTimeField(verbose_name='Date started')), + ('end_date', models.DateTimeField(verbose_name='Date ended')), + ('route', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='locations.Route')), + ], + ), + ] diff --git a/bak/unused_apps/trips/migrations/__init__.py b/bak/unused_apps/trips/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bak/unused_apps/trips/migrations/__init__.py |