diff --git a/packages/strapi-bookshelf/lib/index.js b/packages/strapi-bookshelf/lib/index.js index d0a4a5a66f..90ca939b70 100755 --- a/packages/strapi-bookshelf/lib/index.js +++ b/packages/strapi-bookshelf/lib/index.js @@ -117,11 +117,6 @@ module.exports = function(strapi) { _.forEach(models, (definition, model) => { globalName = _.upperFirst(_.camelCase(definition.globalId)); - // Set the default values to model settings. - _.defaults(definition, { - primaryKey: 'id' - }); - // Make sure the model has a table name. // If not, use the model name. if (_.isEmpty(definition.tableName)) {