Source code for datasets_api.migrations.0006_datasethierarchy

# pylint: skip-file
# type: ignore
# flake8: noqa
# Generated by Django 4.2.1 on 2023-09-11 14:13

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


[docs] class Migration(migrations.Migration): dependencies = [ ('datasets_api', '0005_dataset_dataset_name'), ] operations = [ migrations.CreateModel( name='DatasetHierarchy', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('ancestor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ancestor', to='datasets_api.dataset')), ('descendant', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='descendant', to='datasets_api.dataset')), ], ), ]