mysteriendrama/website/migrations/0004_essen.py

24 lines
796 B
Python
Raw Permalink Normal View History

2023-07-22 12:04:19 +02:00
# Generated by Django 4.2.3 on 2023-07-21 21:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('website', '0003_alter_contact_message'),
]
operations = [
migrations.CreateModel(
name='Essen',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=250)),
('mail', models.EmailField(max_length=254)),
('auswahl', models.CharField(choices=[('choice1', 'Essen 1'), ('choice2', 'Essen 2'), ('choice3', 'Essen 3')], max_length=12)),
('timestamp', models.DateTimeField(auto_now_add=True)),
],
),
]