njpma/app/text/migrations/0001_initial.py
2021-09-28 15:10:22 +02:00

42 lines
1.5 KiB
Python

# Generated by Django 3.2.7 on 2021-09-28 12:09
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Essay',
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.SlugField()),
('public', models.BooleanField(default=False)),
('data', models.JSONField(default=dict)),
('title', models.TextField()),
('teaser', models.TextField()),
('body', models.TextField()),
],
),
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.SlugField()),
('public', models.BooleanField(default=False)),
('data', models.JSONField(default=dict)),
('title', models.TextField()),
('teaser', models.TextField()),
('body', models.TextField()),
],
),
]