mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11459] Remove spaces from the end of lines in MSSQL
PHPBB3-11459
This commit is contained in:
parent
b3560264e8
commit
0fd0be8e85
1 changed files with 2 additions and 2 deletions
|
@ -402,8 +402,8 @@ foreach ($supported_dbms as $dbms)
|
|||
break;
|
||||
|
||||
case 'mssql':
|
||||
$line .= "ALTER TABLE [{$table_name}] WITH NOCHECK ADD \n";
|
||||
$line .= "\tCONSTRAINT [PK_{$table_name}] PRIMARY KEY CLUSTERED \n";
|
||||
$line .= "ALTER TABLE [{$table_name}] WITH NOCHECK ADD\n";
|
||||
$line .= "\tCONSTRAINT [PK_{$table_name}] PRIMARY KEY CLUSTERED\n";
|
||||
$line .= "\t(\n";
|
||||
$line .= "\t\t[" . implode("],\n\t\t[", $table_data['PRIMARY_KEY']) . "]\n";
|
||||
$line .= "\t)\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue