using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exferia_EntityFramework.Script_Actualizacion
{
    class Scripts_Version_1188
    {
        public static Version G_VRS_VERSION = new Version("1.1.8.8");
        public static long G_LNG_VERSION = 1188;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                     //AÑADIR campo sincronizacion_puerto_Escucha a la tabla HPV_Terminales
                                     "IF not exists " +
                                      "( " +
                                      "    SELECT * " +
                                      "    FROM INFORMATION_SCHEMA.COLUMNS " +
                                      "    WHERE COLUMN_NAME='sincronizacion_puerto_Escucha' AND TABLE_NAME = 'HPV_Terminales' " +
                                      ") " +
                                    "BEGIN " +
                                        " ALTER TABLE [HPV_Terminales]ADD[sincronizacion_puerto_Escucha] varchar(50) NULL  " +
                                    "END ";
    }
}
