diff options
author | Jessica Tallon <tsyesika@tsyesika.se> | 2016-01-12 11:41:21 +0000 |
---|---|---|
committer | Jessica Tallon <tsyesika@tsyesika.se> | 2016-01-15 09:20:15 +0000 |
commit | eebd0063feb19ea696f632dbb60588f0591c037b (patch) | |
tree | dc86a6276ec094f5c3e20dcc9e0a86b0f91f31c4 /mediagoblin/db/migration_tools.py | |
parent | c17f755eeaf9447ecae3e32b9602ec19633f5108 (diff) | |
download | mediagoblin-eebd0063feb19ea696f632dbb60588f0591c037b.tar.lz mediagoblin-eebd0063feb19ea696f632dbb60588f0591c037b.tar.xz mediagoblin-eebd0063feb19ea696f632dbb60588f0591c037b.zip |
Fix #5382 - Add migration and fix so tombstones are removed from collections
When an item is deleted it should be removed from all collections, this commit
makes that happen. It's got two changes:
1. Adds the code so when an object is soft deleted, it's automatically removed from
all collection items
2. Add a migration to fix this issue for those who have tombstones (Graveyard objects)
in their collections because of this bug.
This commit requires you to run a migration
Diffstat (limited to 'mediagoblin/db/migration_tools.py')
0 files changed, 0 insertions, 0 deletions