# Generated by Django 3.2.4 on 2021-06-24 18:07

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


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='ProfileChanges',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('change_time', models.DateTimeField(auto_created=True)),
                ('prev_state', models.CharField(choices=[('PAP', 'Pending Approval'), ('PAS', 'Pending Assumption'), ('APP', 'Approved'), ('REJ', 'Rejected')], max_length=3)),
                ('next_state', models.CharField(choices=[('PAP', 'Pending Approval'), ('PAS', 'Pending Assumption'), ('APP', 'Approved'), ('REJ', 'Rejected')], max_length=3)),
                ('changes', models.JSONField(default=dict)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
