Browse Source

Add first migration file

devel
Lennart Heimbs 5 years ago
parent
commit
1b07ef3249
1 changed files with 24 additions and 0 deletions
  1. 24
    0
      news/posts/migrations/0001_initial.py

+ 24
- 0
news/posts/migrations/0001_initial.py View File

# Generated by Django 2.2.7 on 2019-11-19 10:39

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='Notice',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('notice_title', models.CharField(max_length=80)),
('notice_text', models.CharField(max_length=400)),
('pub_start', models.DateTimeField()),
('pub_end', models.DateTimeField()),
],
),
]

Loading…
Cancel
Save