From a9cb0a0d06cb735511f482c7072720403974d9e2 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 8 Oct 2020 16:51:59 +0530 Subject: Add release migrations --- yaksh/migrations/0026_release_0_27_0.py | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 yaksh/migrations/0026_release_0_27_0.py (limited to 'yaksh') diff --git a/yaksh/migrations/0026_release_0_27_0.py b/yaksh/migrations/0026_release_0_27_0.py new file mode 100644 index 0000000..bbfb4cc --- /dev/null +++ b/yaksh/migrations/0026_release_0_27_0.py @@ -0,0 +1,34 @@ +# Generated by Django 3.0.7 on 2020-10-08 11:21 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0002_remove_content_type_name'), + ('yaksh', '0025_release_0_26'), + ] + + operations = [ + migrations.RemoveField( + model_name='post', + name='course', + ), + migrations.AddField( + model_name='forumbase', + name='anonymous', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='post', + name='target_ct', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='target_obj', to='contenttypes.ContentType'), + ), + migrations.AddField( + model_name='post', + name='target_id', + field=models.PositiveIntegerField(blank=True, db_index=True, null=True), + ), + ] -- cgit