function addPermissionToRole(config) {
    return createTransactionalMigration(
        async function up(connection) {
            await addPermissionToRoleHelper(connection, config);
        },
        async function down(connection) {
            await removePermissionFromRoleHelper(connection, config);
        }
    );
}
Creates a migration which will link a permission to a role in the database

@param {PermissionRoleConfig} config

@returns {Migration}