summaryrefslogtreecommitdiff
path: root/app/normalize/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-08-14 09:39:08 -0400
committerluxagraf <sng@luxagraf.net>2021-08-14 09:39:08 -0400
commit9327e01c60b114286f5a142552aae60843029a48 (patch)
tree7f353f4299d50013c3b90f7b749fc6ab211b32d4 /app/normalize/migrations
parent0feb366b10cf422f12d18fa753e5d876120f4195 (diff)
initial commit
Diffstat (limited to 'app/normalize/migrations')
-rw-r--r--app/normalize/migrations/0001_initial.py31
-rw-r--r--app/normalize/migrations/__init__.py0
2 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',
+ },
+ ),
+ ]
diff --git a/app/normalize/migrations/__init__.py b/app/normalize/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/normalize/migrations/__init__.py