6.7.6: Merge pull request #289 from orlandos-nl/jw-upsert-success-check-fix-6.x
Small fix for upserting returning a failed result when adding a new entry to the database. This resulted in migrations throwing an error (even though the migration itself might have succeeded) when running migrations on an empty database.