<reponame>fossabot/SIStema
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-04-03 08:18
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('schools', '0003_school_full_name'),
        ('entrance', '0003_auto_20160330_1956'),
    ]

    operations = [
        migrations.CreateModel(
            name='EntranceUserUpgrade',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('for_school', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='entranceuserupgrade', to='schools.School')),
                ('upgraded_to', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='entranceuserupgrade', to='entrance.EntranceLevel')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-04-03 08:18
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('schools', '0003_school_full_name'),
        ('entrance', '0003_auto_20160330_1956'),
    ]

    operations = [
        migrations.CreateModel(
            name='EntranceUserUpgrade',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('for_school', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='entranceuserupgrade', to='schools.School')),
                ('upgraded_to', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='entranceuserupgrade', to='entrance.EntranceLevel')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-04-03 08:18