# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-09-09 16:55
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('le_francais_dictionary', '0034_verb_translation_text'),
    ]

    operations = [
        migrations.CreateModel(
            name='VerbPacketRelation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('order', models.PositiveIntegerField(default=1)),
                ('packet', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='le_francais_dictionary.VerbPacket')),
                ('verb', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='le_francais_dictionary.Verb')),
            ],
        ),
        migrations.AddField(
            model_name='verb',
            name='packets',
            field=models.ManyToManyField(null=True, related_name='verbs', through='le_francais_dictionary.VerbPacketRelation', to='le_francais_dictionary.VerbPacket'),
        ),
    ]
