flickr migration readds old field, needs to be backed out/redone
Bug #628817 reported by
Daniel Holbach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCo Team Portal |
Fix Released
|
Critical
|
Daniel Holbach |
Bug Description
flickr migration readds old field, needs to be backed out/redone.
Related branches
lp:~dholbach/loco-team-portal/628817
- Dave Walker: Approve
-
Diff: 187 lines (+111/-67)2 files modifiedloco_directory/teams/migrations/0008_add_flickr_field.py (+111/-0)
loco_directory/teams/migrations/0008_flickr_account.py (+0/-67)
Changed in loco-directory: | |
status: | Triaged → In Progress |
Changed in loco-directory: | |
milestone: | none → 0.2.18 |
Changed in loco-directory: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
While trying to fix another bug, I noticed this:
root@miyazaki: ~/loco- directory. 612521/ loco_directory# ./manage.py startmigration teams change_slugfield --auto team.owner_ profile' team.admin_ profiles' team.contact_ profiles' teamadministrat or'
WARNING:root:No local_settings.py were found. See INSTALL for instructions.
WARNING:root:No local_settings.py were found. See INSTALL for instructions.
+ Added field 'teams.
+ Added M2M 'teams.
+ Added M2M 'teams.
- Deleted field 'teams.team.admins'
- Deleted field 'teams.team.owner'
- Deleted model 'teams.
...
Seems the flickr migration fix broke stuff because it was an old migration script.
My preferred solution is: back it out, redo it.