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

namespace Exferia_EntityFramework.Script_Actualizacion
{
    public class Scripts_Version_1110
    {
        public static Version G_VRS_VERSION = new Version("1.1.1.0");
        public static long G_LNG_VERSION = 1110;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                    //AÑADIR el campo fechaBorrado a la tabla MAE_Proveedores_CodigosArticuloProveedor
                                    "IF not exists " +
                                      "( " +
                                      "    SELECT * " +
                                      "    FROM INFORMATION_SCHEMA.COLUMNS " +
                                      "    WHERE COLUMN_NAME='fechaBorrado' AND TABLE_NAME = 'MAE_Proveedores_CodigosArticuloProveedor' " +
                                      ") " +
                                    "BEGIN " +
                                        " ALTER TABLE [MAE_Proveedores_CodigosArticuloProveedor]ADD[fechaBorrado] datetime NULL " +
                                    "END ";



    }
}
