You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, in the debugging process I forgot this problem occurs only with composer's --prefer-lowest option. So it will be a dependency issue, I just have to find which one needs an update.
I would like to insert an entity with a primary key which already set.
albertborsos/yii2-ddd@d902852#diff-ae9027ddfeba092d21397ff138998d33R35
When the insert runs it overrides the primary key.
Which is a problem when I would like to migrate an old database to a new structure, but with the old primary keys.
I tried to override the
nextPrimaryKey
method in theMapper
class, but I cannot reach the current value of the entity in the Mapper.The text was updated successfully, but these errors were encountered: