old-website/articles/migrations/0001_initial.py

31 lines
822 B
Python
Raw Normal View History

2023-06-18 18:06:01 +00:00
# Generated by Django 4.2.2 on 2023-06-17 12:01
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Article",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("title", models.CharField(max_length=255)),
("slug", models.SlugField()),
("body", models.TextField()),
("date", models.DateTimeField(auto_now_add=True)),
],
),
]