mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #2310 from n-aleha/ticket/12397
[ticket/12397] Fix sql_unique_index_exists doc block * n-aleha/ticket/12397: [ticket/12397] Fix sql_unique_index_exists doc block
This commit is contained in:
commit
e9807e1741
1 changed files with 2 additions and 2 deletions
|
@ -875,7 +875,7 @@ class phpbb_db_tools
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add unqiue indexes?
|
// Add unique indexes?
|
||||||
if (!empty($schema_changes['add_unique_index']))
|
if (!empty($schema_changes['add_unique_index']))
|
||||||
{
|
{
|
||||||
foreach ($schema_changes['add_unique_index'] as $table => $index_array)
|
foreach ($schema_changes['add_unique_index'] as $table => $index_array)
|
||||||
|
@ -1286,7 +1286,7 @@ class phpbb_db_tools
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a specified index exists in table. Does not return PRIMARY KEY and UNIQUE indexes.
|
* Check if a specified index exists in table. Does not return PRIMARY KEY indexes.
|
||||||
*
|
*
|
||||||
* @param string $table_name Table to check the index at
|
* @param string $table_name Table to check the index at
|
||||||
* @param string $index_name The index name to check
|
* @param string $index_name The index name to check
|
||||||
|
|
Loading…
Add table
Reference in a new issue