phantasmobile/app/page/migrations/0001_initial.py

34 lines
1,022 B
Python

# Generated by Django 4.2.3 on 2023-07-25 18:51
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Page",
fields=[
(
"id",
models.BigAutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created", models.DateTimeField(auto_now_add=True)),
("modified", models.DateTimeField(auto_now=True)),
(
"slug",
models.CharField(max_length=255, unique=True, verbose_name="Slug"),
),
("title", models.CharField(max_length=1024)),
("content", models.TextField(blank=True, default="")),
],
),
]