I find yii migrations awesome actually, so i’d argue with this.
No it is not. Do not use that. even the creator of the library things it’s a bad move to use that in production.
What exactly, really, i am interested.
Simple fix: https://github.com/twisted1919/yii2-shortcut-functions/blob/master/src/functions.php#L181
Why should it be ? You can use a helper and that’s it.