mozilla/kitsune — pull request #1096 by rlr (2013-01-30 16:07:10+00:00)
Title: [bug 836288] Add on_delete=SET_NULL to last_post FKs.

Otherwise, deleting a user that happens to be the author of last
post CASCADES to deleting the thread and/or forum.

r?