@@ -26,9 +26,10 @@ use yii\console\Controller;
class UpgradeController extends Controller
{
-
+
//正式环境 shish
//yii upgrade/init 2
+ //不管是否线上都可以这样执行,我们要仿最终上线的状态
public function actionInit($num = 0)
if (getenv('YII_ENV') == 'dev') {