1
This commit is contained in:
parent
133cfec9dd
commit
c5486b4c1b
@ -25,10 +25,11 @@ 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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
echo '111';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user