1
This commit is contained in:
parent
133cfec9dd
commit
c5486b4c1b
@ -25,10 +25,11 @@ class ToolsController extends BaseController {
|
||||
$tables = $conn->execQueryAsArray('show tables;');
|
||||
foreach ($tables as $table) {
|
||||
$tblName = $table[0];
|
||||
$conn->execScript("DELETE FROM {$tblName};",
|
||||
arary());
|
||||
$conn->execScript("DROP TABLE {$tblName};",
|
||||
array());
|
||||
}
|
||||
}
|
||||
echo '111';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user