aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-13 08:04:13 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-13 08:04:13 +0300
commit0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0 (patch)
tree2dbf1e527b06f9f8b2614726c4aa25a60de2133c /servo
parent1c4284366f0f82240e57a7a45fd9c4bd63941390 (diff)
downloadServo-0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0.tar.gz
Servo-0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0.tar.bz2
Servo-0c333f25ed82aa763b4a72eb039b2a6fc2e7d4f0.zip
Bring back contenttypes
Diffstat (limited to 'servo')
-rw-r--r--servo/migrations/0002_auto_20210513_0651.py79
1 files changed, 79 insertions, 0 deletions
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',
+ ),
+ ]