Add a migration specific query which allows to set the failure reason when inserting a payment into the db.