Introduction In this How-To I will change my port from 80 to 79, probably because I want to host something else on port 80 not using IIS.The way you setup this is in SharePoint it's to extend your Application, creating a new port 79. After making s…
常规的delete方法如下: /** * Deletes a particular model. * If deletion is successful, the browser will be redirected to the 'index' page. */ public function actionDelete() { if(Yii::app()->request->isPostRequest) { // we only allow deletion via POST requ…
官网:https://www.postgresql.org/docs/8.1/sql-droptable.html Name DROP TABLE -- remove a table Synopsis DROP TABLE name [, ...] [ CASCADE | RESTRICT ] Description DROP TABLE removes tables from the database. Only its owner may destroy a table. To empty…