yii2 clear chema cache

        Yii::$app->db->schema->refresh();
M. Wasim Abbasi