mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/17525] Add database schema getter
PHPBB-17525
This commit is contained in:
@@ -130,11 +130,12 @@ class table_helper
|
||||
* @param array $table_prefix Tables prefix.
|
||||
*
|
||||
* @return array<string, string> Pairs of table names and their short name representations.
|
||||
* @psalm-return array{string, string}
|
||||
*/
|
||||
public static function map_short_table_names(array $additional_tables = [], string $table_prefix = ''): array
|
||||
{
|
||||
$short_table_names_map = [
|
||||
"{$table_prefix}acl_groups" => 'aclgrps',
|
||||
"{$table_prefix}acl_groups" => 'aclgrps',
|
||||
"{$table_prefix}acl_options" => 'aclopts',
|
||||
"{$table_prefix}acl_roles" => 'aclrls',
|
||||
"{$table_prefix}acl_roles_data" => 'aclrlsdt',
|
||||
|
Reference in New Issue
Block a user