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