django1/tests/migrations/test_migrations_manual_porting/0001_initial.py

16 lines
344 B
Python

from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
operations = [
migrations.CreateModel(
"SomeModel",
[
("id", models.AutoField(primary_key=True)),
("name", models.CharField(max_length=255)),
],
),
]