From 0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 13 May 2021 08:04:13 +0300 Subject: Bring back contenttypes --- servo/migrations/0002_auto_20210513_0651.py | 79 +++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 servo/migrations/0002_auto_20210513_0651.py diff --git a/servo/migrations/0002_auto_20210513_0651.py b/servo/migrations/0002_auto_20210513_0651.py new file mode 100644 index 0000000..4627f48 --- /dev/null +++ b/servo/migrations/0002_auto_20210513_0651.py @@ -0,0 +1,79 @@ +# Generated by Django 3.2.2 on 2021-05-13 04:51 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0002_remove_content_type_name'), + ('servo', '0001_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='event', + name='ref', + ), + migrations.RemoveField( + model_name='event', + name='ref_id', + ), + migrations.RemoveField( + model_name='flaggeditem', + name='ref', + ), + migrations.RemoveField( + model_name='flaggeditem', + name='ref_id', + ), + migrations.AddField( + model_name='event', + name='content_type', + field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype'), + preserve_default=False, + ), + migrations.AddField( + model_name='event', + name='object_id', + field=models.PositiveIntegerField(default=None), + preserve_default=False, + ), + migrations.AddField( + model_name='flaggeditem', + name='content_type', + field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype'), + preserve_default=False, + ), + migrations.AddField( + model_name='flaggeditem', + name='object_id', + field=models.PositiveIntegerField(default=None), + preserve_default=False, + ), + migrations.AddField( + model_name='taggeditem', + name='content_type', + field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype'), + preserve_default=False, + ), + migrations.AddField( + model_name='taggeditem', + name='object_id', + field=models.PositiveIntegerField(default=None), + preserve_default=False, + ), + migrations.AlterUniqueTogether( + name='taggeditem', + unique_together=set(), + ), + migrations.RemoveField( + model_name='taggeditem', + name='ref', + ), + migrations.RemoveField( + model_name='taggeditem', + name='ref_id', + ), + ] -- cgit v1.2.3