mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12710] Prefix column so it does not start with a number
PHPBB3-12710
This commit is contained in:
parent
ef9360d285
commit
0806c74084
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// Add a temporary table with the new type
|
||||||
$result = $this->sql_column_add($table_name, $temp_column_name, $original_column_data);
|
$result = $this->sql_column_add($table_name, $temp_column_name, $original_column_data);
|
||||||
$statements = array_merge($statements, $result);
|
$statements = array_merge($statements, $result);
|
||||||
|
|
Loading…
Add table
Reference in a new issue