1
0
clubhaus-schornbach/clubhaus/homepage/migrations/0008_eventdatevotes.py

23 lines
693 B
Python
Raw Normal View History

# Generated by Django 4.0.5 on 2022-07-31 19:30
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('homepage', '0007_clubhausevent_active'),
]
operations = [
migrations.CreateModel(
name='EventDateVotes',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('date', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='homepage.eventdate', to_field='date')),
],
),
]