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

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





    }
}
