Add enum for ON CONFLICT clause and use it for .replace().