store: Remember to import IntegrityError