Debian Codegraph @

src/polymorphic/tests/other/migrations/0001_initial.py

raw
1 # Generated by Django 4.2 on 2026-02-05 14:47
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9 initial = True
10
11 dependencies = [
12 ('tests', '0001_initial'),
13 ]
14
15 operations = [
16 migrations.CreateModel(
17 name='UserProfile',
18 fields=[
19 ('participant', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='other_userprofile', serialize=False, to='tests.participant')),
20 ('name', models.CharField(max_length=100)),
21 ],
22 options={
23 'abstract': False,
24 },
25 bases=('tests.participant',),
26 ),
27 ]