SQL: Tool to cleanup unused tag slugs.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Tue, 24 Jan 2012 22:03:33 +0000 (23:03 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Mon, 5 Mar 2012 20:30:39 +0000 (21:30 +0100)
commitc65cbf9514278fd624ff6f1ccbac93cca8e31764
treeabd286ccdf8a94fcbdfd6f5ffdfe0e409c681184
parent1213b8260ab4da97d465e7ef0e71fac2a2c20dbd
SQL: Tool to cleanup unused tag slugs.

The current SQL layout/sqlalchemy strucuture can't detect
whether a slug isn't needed any more and delete it. So
provide a tool function to cleanup unused slugs.

It's currently not hooked to any gmg function!
mediagoblin/db/sql/util.py