setup db environment. revert db to yii2advanced