Skip to content

Commit

Permalink
Fix migration issue with affecting_time_spans creation
Browse files Browse the repository at this point in the history
`affecting_time_spans` creation depends on `reservation_unit_hierarchy`
being created first, so we need to indicate this as a dependency in
the migration file.
  • Loading branch information
matti-lamppu committed Aug 8, 2024
1 parent 48daa4f commit d369174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reservations/migrations/0073_affectingtimespan.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class Migration(migrations.Migration):
dependencies = [
("reservation_units", "0102_create_reservation_unit_hierarchy_materialized_view"),
("reservations", "0072_alter_reservation_begin_alter_reservation_end"),
]

Expand Down

0 comments on commit d369174

Please sign in to comment.