mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
16 lines
341 B
Python
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)),
|
|
],
|
|
),
|
|
]
|