Open Sysix opened 7 years ago
Primary keys should not contain business logic. Better to use unsigned integer
as primary key. You can still have scope as unique
.
Hello,
yes I know its the "better" art of building a Database. But this way should be valid too. With "Vanilla-SQL" it works. So I think is should work with spot2 too.
I added a unsigned primary key id
and now it works. But this problem is still active for the framework.
Hey guys,
I think I have found a bug. When I update a Entity's primary key, it would be no changes at all. My fields are:
My Update code is:
Xdebug Outputs on Doctrine\DBAL\Connection on line 665:
But it should be: