Fixed bug in VersionTrait where primary key was hardcoded to $entity->id.
Fixed bug in VersionTrait where primary key was hardcoded to $entity->id.
josegonzalez/cakephp-version,robertpustulka/cakephp-version