# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2019-01-30 12:31
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import otree.db.models
import otree_save_the_change.mixins


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('otree', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Group',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('id_in_subsession', otree.db.models.PositiveIntegerField(db_index=True, null=True)),
                ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)),
                ('session', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='modified_dictator_game_group', to='otree.Session')),
            ],
            options={
                'db_table': 'Modified_Dictator_Game_group',
            },
            bases=(otree_save_the_change.mixins.SaveTheChange, models.Model),
        ),
        migrations.CreateModel(
            name='Player',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('id_in_group', otree.db.models.PositiveIntegerField(db_index=True, null=True)),
                ('_payoff', otree.db.models.CurrencyField(default=0, null=True)),
                ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)),
                ('_gbat_arrived', otree.db.models.BooleanField(choices=[(True, 'Yes'), (False, 'No')], default=False)),
                ('_gbat_grouped', otree.db.models.BooleanField(choices=[(True, 'Yes'), (False, 'No')], default=False)),
                ('groupe_3_Modified_Dictator_Game', otree.db.models.IntegerField(null=True)),
                ('choice_line_partner_Modified_Dictator_Game', otree.db.models.IntegerField(null=True)),
                ('realisation_partner_Modified_Dictator_Game', otree.db.models.StringField(max_length=10000, null=True)),
                ('response_choisi_Modified_Dictator_Game', otree.db.models.StringField(max_length=10000, null=True)),
                ('choix_Modified_Dictator_Game', otree.db.models.StringField(max_length=10000, null=True)),
                ('ligne_Modified_Dictator_Game', otree.db.models.IntegerField(null=True)),
                ('payoff_Modified_Dictator_Game', otree.db.models.IntegerField(default=0, null=True)),
                ('response_D_Game_0', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_1', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_2', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_3', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_4', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_5', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_6', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_7', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_8', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_9', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_10', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_11', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_12', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_13', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_14', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_15', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_16', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_17', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_18', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_19', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('response_D_Game_20', otree.db.models.StringField(choices=[('option A', 'option A'), ('option B', 'option B')], max_length=10000, null=True, verbose_name='')),
                ('group', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='Modified_Dictator_Game.Group')),
                ('participant', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='modified_dictator_game_player', to='otree.Participant')),
                ('session', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='modified_dictator_game_player', to='otree.Session')),
            ],
            options={
                'db_table': 'Modified_Dictator_Game_player',
            },
            bases=(otree_save_the_change.mixins.SaveTheChange, models.Model),
        ),
        migrations.CreateModel(
            name='Subsession',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('round_number', otree.db.models.PositiveIntegerField(db_index=True, null=True)),
                ('session', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='modified_dictator_game_subsession', to='otree.Session')),
            ],
            options={
                'db_table': 'Modified_Dictator_Game_subsession',
            },
            bases=(otree_save_the_change.mixins.SaveTheChange, models.Model),
        ),
        migrations.AddField(
            model_name='player',
            name='subsession',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Modified_Dictator_Game.Subsession'),
        ),
        migrations.AddField(
            model_name='group',
            name='subsession',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Modified_Dictator_Game.Subsession'),
        ),
    ]
