Exemple #1
0
class Migration(migrations.Migration):

    dependencies = [
        ('cohort_manager', '0008_syskeyimport'),
    ]

    operations = [
        migrations.CreateModel(
            name='SyskeyAssignment',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('system_key', models.CharField(max_length=30)),
                ('application_number', models.PositiveIntegerField()),
                ('admission_selection_id', models.CharField(max_length=30)),
                ('assigned_cohort', models.IntegerField(null=True)),
                ('assigned_major', models.CharField(max_length=30, null=True)),
                ('major_program_code', models.TextField(null=True)),
                ('campus',
                 models.PositiveSmallIntegerField(choices=[(1, 'Seattle'),
                                                           (2, 'Tacoma'),
                                                           (3, 'Bothell')],
                                                  default=1)),
                ('assignment_import',
                 models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
                                   to='cohort_manager.SyskeyImport')),
            ],
        ),
    ]
Exemple #2
0
class Migration(migrations.Migration):

    dependencies = [
        ('cohort_manager', '0002_auto_20191218_2012'),
    ]

    operations = [
        migrations.AlterField(
            model_name='assignmentimport',
            name='cohort',
            field=models.CharField(blank=True, max_length=30, null=True),
        ),
        migrations.AlterField(
            model_name='assignmentimport',
            name='major',
            field=models.CharField(blank=True, max_length=30, null=True),
        ),
    ]
Exemple #3
0
class Migration(migrations.Migration):

    dependencies = [
        ('cohort_manager', '0005_assignment_sdb_app_status'),
    ]

    operations = [
        migrations.AlterField(
            model_name='assignmentimport',
            name='major',
            field=models.CharField(blank=True, max_length=128, null=True),
        ),
    ]
Exemple #4
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='AssignmentImport',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('document', models.TextField()),
                ('comment', models.TextField()),
                ('is_override', models.NullBooleanField(default=False)),
                ('is_file_upload', models.NullBooleanField(default=True)),
                ('upload_filename', models.CharField(max_length=100,
                                                     null=True)),
                ('created_date', models.DateTimeField(auto_now_add=True)),
                ('created_by', models.CharField(max_length=30)),
                ('imported_date', models.DateTimeField(null=True)),
                ('imported_status', models.SmallIntegerField(null=True)),
                ('imported_message', models.TextField(null=True)),
                ('quarter', models.IntegerField()),
                ('campus', models.CharField(max_length=30)),
                ('cohort', models.CharField(blank=True, max_length=30)),
                ('major', models.CharField(blank=True, max_length=30)),
                ('is_submitted', models.BooleanField(default=False)),
                ('is_reassign', models.BooleanField(default=False)),
                ('is_reassign_protected', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='Assignment',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('system_key', models.CharField(max_length=30)),
                ('application_number', models.PositiveIntegerField()),
                ('admission_selection_id', models.CharField(max_length=30)),
                ('assignment_import',
                 models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
                                   to='cohort_manager.AssignmentImport')),
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('cohort_manager', '0007_purplegoldassignment'),
    ]

    operations = [
        migrations.CreateModel(
            name='SyskeyImport',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('comment', models.TextField()),
                ('is_override', models.NullBooleanField(default=False)),
                ('upload_filename', models.CharField(max_length=100,
                                                     null=True)),
                ('created_date', models.DateTimeField(auto_now_add=True)),
                ('created_by', models.CharField(max_length=30)),
                ('imported_date', models.DateTimeField(null=True)),
                ('imported_status', models.SmallIntegerField(null=True)),
                ('imported_message', models.TextField(null=True)),
                ('quarter', models.IntegerField()),
                ('campus', models.CharField(max_length=30)),
                ('cohort',
                 models.CharField(blank=True, max_length=30, null=True)),
                ('major',
                 models.CharField(blank=True, max_length=128, null=True)),
                ('is_purplegold', models.BooleanField(default=False)),
                ('is_submitted', models.BooleanField(default=False)),
                ('is_reassign', models.BooleanField(default=False)),
                ('is_reassign_protected', models.BooleanField(default=False)),
            ],
        ),
    ]