propelorm/Propel — comment on commit a54ac77c41577276447fa27302355a90ecb6a60e
File: generator/lib/behavior/versionable/VersionableBehaviorObjectBuilderModifier.php line 347
By aamsellem:

It must be the foreign key of the foreignTable so, we have to replace this line with : $fkColumn = $foreignVersionTable->getFirstPrimaryKeyColumn();