在db中,有像wp\\U wpdf\\U docs这样的自定义表名,并且希望将表名更改为wp\\U ccdm\\U docs
因为我正在使用
$oldtable_name = $wpdb->prefix . "wpfd_docs";
$newtable_name = $wpdb->prefix . "ccdm_docs";
$rename= $wpdb->query("RENAME TABLE ".$oldtable_name ." TO " .$newtable_name);
这是正确的过程吗?