Indefero

Indefero Commit Details


Date:2008-11-22 15:06:02 (16 years 29 days ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:b13633fed2a86a9015ac2e492a643b652f56a7ff
Parents: c86cf6e5f1bc94aa457fe9d5eaa61eb95cb8f9b0
Message:Fixed to work correctly with MySQL.

Changes:

File differences

src/IDF/Migrations/5DescToText.php
3030
3131
3232
33
33
3434
3535
3636
$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])) {

Archive Download the corresponding diff file

Page rendered in 0.16746s using 13 queries.