mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
[ticket/13162] Use db tools for truncating
PHPBB3-13162
This commit is contained in:
@@ -207,4 +207,12 @@ interface tools_interface
|
||||
* @return bool|string[] True if the statements have been executed
|
||||
*/
|
||||
public function sql_create_primary_key(string $table_name, $column);
|
||||
|
||||
/**
|
||||
* Truncate the table
|
||||
*
|
||||
* @param string $table_name
|
||||
* @return void
|
||||
*/
|
||||
public function sql_truncate_table(string $table_name): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user