summaryrefslogtreecommitdiff
path: root/app/normalize/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/normalize/migrations/0001_initial.py')
-rw-r--r--app/normalize/migrations/0001_initial.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/normalize/migrations/0001_initial.py b/app/normalize/migrations/0001_initial.py
new file mode 100644
index 0000000..358677a
--- /dev/null
+++ b/app/normalize/migrations/0001_initial.py
@@ -0,0 +1,31 @@
+# Generated by Django 3.1.3 on 2020-11-30 22:45
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('contenttypes', '0002_remove_content_type_name'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='RelatedPost',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('entry_id', models.IntegerField()),
+ ('title', models.CharField(max_length=200)),
+ ('slug', models.CharField(max_length=50)),
+ ('pub_date', models.DateTimeField(verbose_name='Date published')),
+ ('model_name', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.contenttype')),
+ ],
+ options={
+ 'ordering': ('-model_name', '-pub_date'),
+ 'get_latest_by': 'pub_date',
+ },
+ ),
+ ]