[ticket/12710] Prefix column so it does not start with a number

PHPBB3-12710
This commit is contained in:
Joas Schilling 2014-08-09 14:29:59 +02:00
parent ef9360d285
commit 0806c74084

View file

@ -2378,7 +2378,7 @@ class tools
}
}
$temp_column_name = substr(md5($column_name), 0, 30);
$temp_column_name = 'temp_' . substr(md5($column_name), 0, 25);
// Add a temporary table with the new type
$result = $this->sql_column_add($table_name, $temp_column_name, $original_column_data);
$statements = array_merge($statements, $result);