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_1175
    {
        public static Version G_VRS_VERSION = new Version("1.1.7.5");
        public static long G_LNG_VERSION = 1175;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                     //AÑADIR el campo confidencial a la tabla MAE_Empleados
                                     "IF not exists " +
                                      "( " +
                                      "    SELECT * " +
                                      "    FROM INFORMATION_SCHEMA.COLUMNS " +
                                      "    WHERE COLUMN_NAME='confidencial' AND TABLE_NAME = 'MAE_Empleados' " +
                                      ") " +
                                    "BEGIN " +
                                        " ALTER TABLE [MAE_Empleados] ADD [confidencial] TEXT NULL " +
                                    "END ";
    }
}
