29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
# Generated by Django 3.0 on 2020-09-25 07:13
|
|
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='News',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(default='', max_length=200)),
|
|
('content', models.TextField(blank=True, default='', verbose_name='Inhalt')),
|
|
('created_date', models.DateTimeField(blank=True, default=django.utils.timezone.now)),
|
|
('go_online_on', models.DateTimeField(blank=True, default=django.utils.timezone.now)),
|
|
('go_offline_on', models.DateTimeField(blank=True, default=None, null=True)),
|
|
('last_modified_on', models.DateTimeField(blank=True, default=django.utils.timezone.now)),
|
|
('agnotify', models.BooleanField(default=True)),
|
|
],
|
|
),
|
|
]
|