Title update problem #68

Closed
darbula opened this Issue Mar 10, 2013 · 1 comment

Projects

None yet

2 participants

@darbula
darbula commented Mar 10, 2013

When title abbreviation is updated it breaks referential integrity and all Person with that title are no longer accessible in frontend and backend.

@evildmp
Owner
evildmp commented Mar 11, 2013

This is going to be messy. It will require:

  • schema migration to:
    • rename title to temporary_title
    • add a new title field without to_field on it
  • data migration to populate the new field with primary keys based on existing temporary_title field
  • schema migration to delete temporary_title
@evildmp evildmp closed this in e5a7fcc Mar 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment