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

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





    }
}
