Fix SQLite FK CONSTRAINT issue for user_roles/user_types