|
| 1 | +# Generated by Django 3.2.11 on 2022-07-03 14:24 |
| 2 | + |
| 3 | +from django.db import migrations, models |
| 4 | +import django.db.models.deletion |
| 5 | +import gsoc.models |
| 6 | + |
| 7 | + |
| 8 | +class Migration(migrations.Migration): |
| 9 | + |
| 10 | + dependencies = [ |
| 11 | + ('gsoc', '0007_builder_timeline'), |
| 12 | + ] |
| 13 | + |
| 14 | + operations = [ |
| 15 | + migrations.CreateModel( |
| 16 | + name='DaysConf', |
| 17 | + fields=[ |
| 18 | + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
| 19 | + ('title', models.CharField(max_length=100)), |
| 20 | + ('days', models.IntegerField()), |
| 21 | + ('disabled', models.BooleanField(default=False)), |
| 22 | + ], |
| 23 | + ), |
| 24 | + migrations.AddField( |
| 25 | + model_name='builder', |
| 26 | + name='bpdd', |
| 27 | + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='gsoc.blogpostduedate'), |
| 28 | + ), |
| 29 | + migrations.AddField( |
| 30 | + model_name='builder', |
| 31 | + name='event', |
| 32 | + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='gsoc.event'), |
| 33 | + ), |
| 34 | + migrations.AlterField( |
| 35 | + model_name='blogpostduedate', |
| 36 | + name='title', |
| 37 | + field=models.CharField(default='Loading...', max_length=100), |
| 38 | + ), |
| 39 | + migrations.AlterField( |
| 40 | + model_name='builder', |
| 41 | + name='category', |
| 42 | + field=models.CharField(choices=[('build_pre_blog_reminders', 'build_pre_blog_reminders'), ('build_post_blog_reminders', 'build_post_blog_reminders'), ('build_revoke_student_perms', 'build_revoke_student_perms'), ('build_remove_user_details', 'build_remove_user_details'), ('build_add_timeline_to_calendar', 'build_add_timeline_to_calendar'), ('build_add_bpdd_to_calendar', 'build_add_bpdd_to_calendar'), ('build_add_event_to_calendar', 'build_add_event_to_calendar')], max_length=40), |
| 43 | + ), |
| 44 | + migrations.AlterField( |
| 45 | + model_name='builder', |
| 46 | + name='timeline', |
| 47 | + field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to='gsoc.timeline'), |
| 48 | + preserve_default=False, |
| 49 | + ), |
| 50 | + migrations.AlterField( |
| 51 | + model_name='gsocyear', |
| 52 | + name='gsoc_year', |
| 53 | + field=models.IntegerField(primary_key=True, serialize=False, validators=[gsoc.models.validate_date]), |
| 54 | + ), |
| 55 | + ] |
0 commit comments