mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12710] Prefix column so it does not start with a number
PHPBB3-12710
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user