mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12448] Fix null columns for MS SQL
PHPBB3-12448
This commit is contained in:
parent
b2044884ff
commit
4917ebe93a
1 changed files with 1 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ class tools
|
|||
|
||||
$return_array['textimage'] = $column_type === '[text]';
|
||||
|
||||
if (!is_null($column_data[1]))
|
||||
if (!is_null($column_data[1]) || (isset($column_data[2]) && $column_data[2] == 'auto_increment'))
|
||||
{
|
||||
$sql .= 'NOT NULL';
|
||||
$sql_default .= 'NOT NULL';
|
||||
|
|
Loading…
Add table
Reference in a new issue