no message

This commit is contained in:
hellcat 2025-07-15 17:30:33 +08:00
parent e7f51134d9
commit 114e914d88

View File

@ -32,4 +32,13 @@ class Db extends Base {
return $str;
}
public function showCreateTable($aParam)
{
$sValue = $aParam["aArg"][1] ?? false;
$columns = \DB::select("SHOW CREATE TABLE `{$sValue}`");
return $this->toJson($columns[0]->{"Create Table"});
}
}