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

namespace Exferia_EntityFramework.Script_Actualizacion
{
    class Scripts_Version_1318
    {
        public static Version G_VRS_VERSION = new Version("1.3.1.8");
        public static long G_LNG_VERSION = 1318;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                    //MODIFICAR el campo observaciones a la tabla EPD_Expedientes
                                    "IF exists " +
                                      "( " +
                                      "    SELECT * " +
                                      "    FROM INFORMATION_SCHEMA.COLUMNS " +
                                      "    WHERE COLUMN_NAME='observaciones' AND TABLE_NAME = 'EPD_Expedientes' AND DATA_TYPE='text' " +
                                      ") " +
                                    "BEGIN " +
                                        " ALTER TABLE [EPD_Expedientes] ALTER COLUMN [observaciones] varchar(500) NULL " +
                                    "END ";




    }
}
