ALTER TABLE IF EXISTS `vn2008`.`Proveedores_gestdoc` RENAME `vn`.`supplierDms`;

ALTER TABLE IF EXISTS `vn`.`supplierDms`
CHANGE COLUMN IF EXISTS `Id_Proveedor` `supplierFk` int(11) NOT NULL,
CHANGE COLUMN IF EXISTS `gestdoc_id` `dmsFk` int(11) NOT NULL;