Skip to content

Commit

Permalink
Add definition of LONGTEXT column
Browse files Browse the repository at this point in the history
CR-2331 requires a migration from TEXT to LONGTEXT. The migration
in Cake will only run if a defition of LONGEXT can be found in
$columns property of MysqlExtended();
  • Loading branch information
Dan Paz committed Oct 26, 2021
1 parent 51ff012 commit cf3522e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/Datasource/Database/MysqlExtended.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class MysqlExtended extends Mysql {
'primary_key' => array('name' => 'NOT NULL AUTO_INCREMENT'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),
'longtext' => array('name' => 'longtext'),
'biginteger' => array('name' => 'bigint', 'limit' => '20'),
'integer' => array('name' => 'int', 'limit' => '11', 'formatter' => 'intval'),
'float' => array('name' => 'float', 'formatter' => 'floatval'),
Expand Down

0 comments on commit cf3522e

Please sign in to comment.