yii2/db/BaseActiveRecord::afterSave() upgrade fix