Exemple #1
0
 /**
  * MediumTextDataType constructor.
  *
  * @param array $options
  */
 public function __construct(array $options)
 {
     parent::__construct($options);
     // MySQL MEDIUMTEXT can store 16MB
     $this->length = 16777215;
 }
Exemple #2
0
 /**
  * TinyTextDataType constructor.
  *
  * @param array $options
  */
 public function __construct(array $options)
 {
     parent::__construct($options);
     // MySQL TINYTEXT can store 255 characters
     $this->length = 255;
 }
Exemple #3
0
 /**
  * LongTextDataType constructor.
  *
  * @param array $options
  */
 public function __construct(array $options)
 {
     parent::__construct($options);
     // MySQL LONGTEXT can store 4GB of data, to be 32bit safe only claim 2GB
     $this->length = 2147483647;
 }