pinax / symposion

a Django project for conference websites
BSD 3-Clause "New" or "Revised" License
299 stars 147 forks source link

Add missing migration for schedule slot model. #124

Closed martey closed 8 years ago

martey commented 8 years ago

c0402575475e481d9d4dfdc64bf6f9e0cf90ad2b added a "name" field to schedule slots. At the time it was written, symposion did not include migrations. This commit creates a migration that adds the field to the database table and automates the generation of the slot name (by re-saving all existing slots).

This fixes a database error that happens when accessing schedule slots:

ProgrammingError: column symposion_schedule_slot.name does not exist
LINE 1: SELECT "symposion_schedule_slot"."id", "symposion_schedule_s...
ossanna16 commented 8 years ago

Thanks so much @martey! @paltman Can this be merged?

martey commented 8 years ago

Closing since this is superseded by #134.