fuzzyfox/mozhunt — Issue #19: Database Schema does not allow deletion of users or tokens!
Author: JoeHazzers
Created: 2012-02-29 22:31:32+00:00
State: open

The current foreign key schema has the default constraints (`ON UPDATE RESTRICT ON DELETE RESTRICT`) which will not allow the deletion of a user or the deletion of a token without simultaneously explicitly removing or modifying the conflicting rows in `userToken`. If I change the foreign key definition, all deletions of users or tokens will cascade into the `userToken` table. Is this alright with everyone?