Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergunshot committed Dec 3, 2024
1 parent e1b01be commit 12a0f1a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions author/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 4.1 on 2024-12-03 19:08

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = []

operations = [
migrations.CreateModel(
name="Author",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("first_name", models.CharField(max_length=64)),
("last_name", models.CharField(max_length=64)),
("pseudonym", models.CharField(blank=True, max_length=64, null=True)),
("age", models.IntegerField()),
("retired", models.BooleanField()),
],
),
]

0 comments on commit 12a0f1a

Please sign in to comment.