diff --git a/upgrades/cns_2.1.12-4_to_2.1.13-0.sql b/upgrades/cns_2.1.12-4_to_2.1.13-0.sql
index f3f896c33b42f7ccbe287093567365ad06b45c3b..3ca92651a8195f72b252b2a7ffdbb9e66be721e3 100644
--- a/upgrades/cns_2.1.12-4_to_2.1.13-0.sql
+++ b/upgrades/cns_2.1.12-4_to_2.1.13-0.sql
@@ -68,7 +68,10 @@ CREATE TABLE SetSegmentsForFilesHelper
 CREATE TABLE ResultsLogHelper
   (reqId VARCHAR2(36), timeinfo NUMBER, ec INTEGER, fileId NUMBER, msg VARCHAR2(2048), params VARCHAR2(4000));
 
-
+-- a synonym allowing to acces the VMGR_TAPE_SIDE table from within the nameserver DB
+UNDEF vmgrSchema
+ACCEPT vmgrSchema CHAR DEFAULT 'vmgr' PROMPT 'Enter the name of the VMGR schema (default vmgr): ';
+CREATE OR REPLACE SYNONYM Vmgr_tape_side FOR &vmgrSchema..Vmgr_tape_side;
 
 /* Package holding type declarations for the NameServer PL/SQL API */
 CREATE OR REPLACE PACKAGE castorns AS