Should MySQL & Yii2 SQL migration overwrite newly changed records?
I'm trying to create a migration that changes the records I need in a table $sql = ''; $sql .= "UPDATE card_series SET Code = 903 WHERE ID = 1600;"; $cardsSeries1600 = CardList::find() ->where(['seriesId' => 1600]) ->orderBy('ID') ->all(); $cardNum =…