title: Yii2: to automatically delete Db cache for every new migration generated
body: <p>I have added code to cache Db for my Yii2 application, it works perfectly as expected, but the problem I am facing due to that is, everytime I add any new column to the Db, application complains about the missing column due to caching mechanism. So I have to every time either add Yii::$app-&gt;cache-&gt;flush(); into my migration file manually or clear it from server, which is kind of annoying and I might miss that. Is there any way to automate this, like add this line at end of every new migration created automatically?</p>