django/tests/migrations/test_migrations_namespace_p.../0001_initial.py

16 lines
341 B
Python

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