diff options
author | lxf <sng@luxagraf.net> | 2022-05-14 16:38:07 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-05-14 16:38:07 -0400 |
commit | bb3973ffb714c932e9ec6dd6a751228dc71fe1d3 (patch) | |
tree | 6fa32f9392ad2ec32271349b86a4c1388fd6ba95 /app/normalize/migrations/0001_initial.py |
initial commit
Diffstat (limited to 'app/normalize/migrations/0001_initial.py')
-rw-r--r-- | app/normalize/migrations/0001_initial.py | 31 |
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', + }, + ), + ] |