only commit once, rather than for every insert
only commit once, rather than for every insert

if we insert a valid row, that'll mean we properly roll back the delete of old data

alphagov/notifications-api,alphagov/notifications-api