diff options
author | Patrick Webster <noxwizard@phpbb.com> | 2014-03-01 23:14:53 -0600 |
---|---|---|
committer | Patrick Webster <noxwizard@phpbb.com> | 2014-03-28 17:05:13 -0500 |
commit | a2580687ee8a557d026af75d8d6fcf477e8c435e (patch) | |
tree | 8e06575386d21ca65fea2570a50cfadf913c52d8 /phpBB/develop | |
parent | 83be9907013b9463f737f9761d85e3e6b907ad16 (diff) | |
download | forums-a2580687ee8a557d026af75d8d6fcf477e8c435e.tar forums-a2580687ee8a557d026af75d8d6fcf477e8c435e.tar.gz forums-a2580687ee8a557d026af75d8d6fcf477e8c435e.tar.bz2 forums-a2580687ee8a557d026af75d8d6fcf477e8c435e.tar.xz forums-a2580687ee8a557d026af75d8d6fcf477e8c435e.zip |
[ticket/9725] Remove trailing spaces from MSSQL schema
PHPBB3-9725
Diffstat (limited to 'phpBB/develop')
-rw-r--r-- | phpBB/develop/create_schema_files.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index b869c507e5..b5f1202c0d 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -602,7 +602,7 @@ foreach ($supported_dbms as $dbms) $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"; + $line .= "\t)\n"; $line .= "GO\n\n"; break; @@ -697,7 +697,7 @@ foreach ($supported_dbms as $dbms) case 'mssql': $line .= ($key_data[0] == 'INDEX') ? 'CREATE INDEX' : ''; $line .= ($key_data[0] == 'UNIQUE') ? 'CREATE UNIQUE INDEX' : ''; - $line .= " [{$key_name}] ON [{$table_name}]([" . implode('], [', $key_data[1]) . "]) \n"; + $line .= " [{$key_name}] ON [{$table_name}]([" . implode('], [', $key_data[1]) . "])\n"; $line .= "GO\n\n"; break; |