summaryrefslogtreecommitdiff
path: root/app/unused_apps/trips/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-11 21:49:34 -0500
committerluxagraf <sng@luxagraf.net>2020-11-11 21:49:34 -0500
commit199184b3b680bc4c8878bf11a60c0fbf72fb612f (patch)
tree92195ea8a1ba5e61fefca51896c2b8e01cdeaf43 /app/unused_apps/trips/migrations
parent129a8545b520380a8567a4e7405634250f3d7da5 (diff)
removed some things I wasn't using to clean up code base
Diffstat (limited to 'app/unused_apps/trips/migrations')
-rw-r--r--app/unused_apps/trips/migrations/0001_initial.py31
-rw-r--r--app/unused_apps/trips/migrations/__init__.py0
2 files changed, 31 insertions, 0 deletions
diff --git a/app/unused_apps/trips/migrations/0001_initial.py b/app/unused_apps/trips/migrations/0001_initial.py
new file mode 100644
index 0000000..3d3c222
--- /dev/null
+++ b/app/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/app/unused_apps/trips/migrations/__init__.py b/app/unused_apps/trips/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/unused_apps/trips/migrations/__init__.py