Bugfix in console models function replace foreignKey by primaryKey
Bugfix in PhpTemplatingService