Fixed to work correctly with MySQL.
This commit is contained in:
parent
c86cf6e5f1
commit
b13633fed2
@ -30,7 +30,7 @@ function IDF_Migrations_5DescToText_up($params=null)
|
||||
$table = Pluf::factory('IDF_Conf')->getSqlTable();
|
||||
$sql = array();
|
||||
$sql['PostgreSQL'] = 'ALTER TABLE '.$table.' ALTER vdesc TYPE text';
|
||||
$sql['MySQL'] = 'ALTER TABLE '.$table.' MODIFY vdesc TYPE text';
|
||||
$sql['MySQL'] = 'ALTER TABLE '.$table.' CHANGE vdesc TYPE text';
|
||||
$db = Pluf::db();
|
||||
$engine = Pluf::f('db_engine');
|
||||
if (!isset($sql[$engine])) {
|
||||
|
Loading…
Reference in New Issue
Block a user