mirror of
https://github.com/Balshgit/public.git
synced 2025-09-12 16:40:43 +03:00
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
# Generated by Django 2.2.7 on 2019-11-24 11:01
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
"""Initial migration that creates the example BlogPost model."""
|
|
|
|
initial = True
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='BlogPost',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name='ID',
|
|
),
|
|
),
|
|
('title', models.CharField(max_length=80)),
|
|
('body', models.TextField()),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'verbose_name': 'BlogPost',
|
|
'verbose_name_plural': 'BlogPosts',
|
|
},
|
|
),
|
|
]
|