Skip to content

Commit

Permalink
Merge pull request devdaydresden#253 from jenslauterbach/add-migrations
Browse files Browse the repository at this point in the history
Add Missing Migrations
  • Loading branch information
jandd authored Mar 10, 2020
2 parents 663b5af + c8cd15c commit b7d34cb
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
18 changes: 18 additions & 0 deletions devday/sponsoring/migrations/0004_auto_20200310_1737.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2.10 on 2020-03-10 17:37

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('sponsoring', '0003_change_meta_options'),
]

operations = [
migrations.AlterField(
model_name='sponsoringpackageitem',
name='order',
field=models.PositiveIntegerField(db_index=True, editable=False, verbose_name='order'),
),
]
44 changes: 44 additions & 0 deletions devday/talk/migrations/0043_auto_20200310_1737.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Generated by Django 2.2.10 on 2020-03-10 17:37

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


class Migration(migrations.Migration):

dependencies = [
('talk', '0042_delete_attendee_feedback_with_attendee'),
]

operations = [
migrations.AlterField(
model_name='attendeefeedback',
name='attendee',
field=models.ForeignKey(blank=True, limit_choices_to={'event__published': True}, null=True, on_delete=django.db.models.deletion.CASCADE, to='attendee.Attendee', verbose_name='Attendee'),
),
migrations.AlterField(
model_name='attendeefeedback',
name='talk',
field=models.ForeignKey(limit_choices_to={'track__is_null': False}, on_delete=django.db.models.deletion.CASCADE, to='talk.Talk', verbose_name='Talk'),
),
migrations.AlterField(
model_name='attendeevote',
name='attendee',
field=models.ForeignKey(limit_choices_to={'event__published': True}, on_delete=django.db.models.deletion.CASCADE, to='attendee.Attendee', verbose_name='Attendee'),
),
migrations.AlterField(
model_name='attendeevote',
name='talk',
field=models.ForeignKey(limit_choices_to={'track__is_null': False}, on_delete=django.db.models.deletion.CASCADE, to='talk.Talk', verbose_name='Talk'),
),
migrations.AlterField(
model_name='sessionreservation',
name='attendee',
field=models.ForeignKey(limit_choices_to={'event__published': True}, on_delete=django.db.models.deletion.CASCADE, to='attendee.Attendee', verbose_name='Attendee'),
),
migrations.AlterField(
model_name='sessionreservation',
name='talk',
field=models.ForeignKey(limit_choices_to={'spots__gt': 0}, on_delete=django.db.models.deletion.CASCADE, to='talk.Talk', verbose_name='Talk'),
),
]

0 comments on commit b7d34cb

Please sign in to comment.