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

namespace Exferia_EntityFramework.Script_Actualizacion
{
    class Scripts_Version_1229
    {
        public static Version G_VRS_VERSION = new Version("1.2.2.9");
        public static long G_LNG_VERSION = 1229;
        public static int G_INT_TIPO = 0;
        public static string G_STR_SCRIPT =
                                   " IF exists " +
                                   " ( " +
                                   "     SELECT * " +
                                   "     FROM INFORMATION_SCHEMA.COLUMNS " +
                                   "     WHERE COLUMN_NAME = 'descripcion' AND TABLE_NAME = 'CTA_PlanGeneralContable' and CHARACTER_MAXIMUM_LENGTH = 100 " +
                                   " ) " +
                                   " BEGIN " +
                                   //Modificar Columna
                                   " ALTER TABLE[CTA_PlanGeneralContable] ALTER COLUMN[descripcion] VARCHAR(250) NOt NULL " +
                                   " END" ;





    }
}
