1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Fixed #36146 -- Recorded applied/unapplied migrations recursively.

This commit is contained in:
Georgi Yanchev
2025-02-11 15:14:53 -05:00
committed by Sarah Boyce
parent 54a902c6e8
commit 0ee842bb45
8 changed files with 147 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
from django.db import migrations, models
class Migration(migrations.Migration):
operations = [
migrations.CreateModel(
name="A",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("foo", models.BooleanField()),
],
),
]