plateforme-corres2math/apps/participation/migrations/0007_question.py

23 lines
745 B
Python
Raw Normal View History

2020-10-31 13:37:36 +00:00
# Generated by Django 3.0.10 on 2020-10-31 13:36
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('participation', '0006_phase'),
]
operations = [
migrations.CreateModel(
name='Question',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('question', models.TextField(verbose_name='question')),
('participation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='questions', to='participation.Participation', verbose_name='participation')),
],
),
]