t: More proper db resetting (no longer sqlite-specific)