<filename>apps/category/migrations/0002_category_category_parent.py
# Generated by Django 3.2.3 on 2021-06-06 21:29

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('category', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='category',
            name='category_parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='parent', to='category.category'),
        ),
    ]

<filename>apps/category/migrations/0002_category_category_parent.py
# Generated by Django 3.2.3 on 2021-06-06 21:29

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('category', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='category',
            name='category_parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='parent', to='category.category'),
        ),
    ]

# Generated by Django 3.2.3 on 2021-06-06 21:29