Commits

christiansalazar committed 72f8a89

cambiado cruge_field.predetvalue a MEDIUMBLOB 4096 bytes

Comments (0)

Files changed (2)

data/cruge-data-model.sql

   `showinreports` INT(11) NULL DEFAULT 0 ,
   `useregexp` VARCHAR(512) NULL ,
   `useregexpmsg` VARCHAR(512) NULL ,
-  `predetvalue` TINYBLOB NULL ,
+  `predetvalue` MEDIUMBLOB NULL ,
   PRIMARY KEY (`idfield`) )
 ENGINE = InnoDB;
 

models/data/CrugeField.php

 			array('longname', 'length', 'max'=>50),
 			array('useregexp', 'length', 'max'=>512),
 			array('useregexpmsg', 'length', 'max'=>512),
-			array('predetvalue', 'length', 'max'=>512),
+			array('predetvalue', 'length', 'max'=>4096),
 			
 			array('fieldname', 'match'
 				, 'pattern'=>'/^([a-zA-Z]{3,20})$/'