25 lines
690 B
Python
25 lines
690 B
Python
|
# Generated by Django 4.0 on 2022-01-07 23:05
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
initial = True
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Post',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('title', models.CharField(max_length=200, unique=True)),
|
||
|
('updated_on', models.DateTimeField(auto_now=True)),
|
||
|
('created_on', models.DateTimeField(auto_now_add=True)),
|
||
|
('content', models.TextField()),
|
||
|
],
|
||
|
),
|
||
|
]
|