summaryrefslogtreecommitdiff
path: root/app/unused_apps/publications/migrations/0004_pitchidea.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/unused_apps/publications/migrations/0004_pitchidea.py')
-rw-r--r--app/unused_apps/publications/migrations/0004_pitchidea.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/unused_apps/publications/migrations/0004_pitchidea.py b/app/unused_apps/publications/migrations/0004_pitchidea.py
new file mode 100644
index 0000000..db72d58
--- /dev/null
+++ b/app/unused_apps/publications/migrations/0004_pitchidea.py
@@ -0,0 +1,28 @@
+# Generated by Django 2.1.1 on 2019-01-31 10:46
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('publications', '0003_auto_20190131_0923'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='PitchIdea',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=250)),
+ ('pitch', models.TextField()),
+ ('date_created', models.DateTimeField(auto_now_add=True)),
+ ('date_updated', models.DateTimeField(auto_now=True)),
+ ('publication', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='publications.Publication')),
+ ],
+ options={
+ 'ordering': ('-title', '-date_created'),
+ },
+ ),
+ ]