updating the sql
Merge branch 'master' of git://github.com/Mihai-P/yii2-core