Debian Codegraph @

tests/migrations/test_migrations_manual_porting/0004_fourth.py

raw
1 from django.db import migrations
2
3
4 def forwards(apps, schema_editor):
5 pass
6
7
8 class Migration(migrations.Migration):
9 dependencies = [
10 ("migrations", "0002_second"),
11 ]
12
13 replaces = [
14 ("migrations", "0003_third"),
15 ]
16
17 operations = [
18 migrations.AlterUniqueTogether(
19 name="somemodel",
20 unique_together={("id", "name")},
21 ),
22 migrations.AlterUniqueTogether(
23 name="somemodel",
24 unique_together={("name",)},
25 ),
26 migrations.RunPython(forwards, migrations.RunPython.noop),
27 ]