diff --git a/api/models/Book.js b/api/models/Book.js index b0ba98e..11962de 100644 --- a/api/models/Book.js +++ b/api/models/Book.js @@ -15,8 +15,7 @@ module.exports = { id: { type: 'number', unique: true, - autoIncrement: true, - columnName: '_id' + autoIncrement: true }, title: { type: 'string', required: true }, author: { type: 'string' }, diff --git a/api/models/Passport.js b/api/models/Passport.js index c3922a6..16519a7 100644 --- a/api/models/Passport.js +++ b/api/models/Passport.js @@ -28,8 +28,7 @@ module.exports = { id: { type: 'number', unique: true, - autoIncrement: true, - columnName: '_id' + autoIncrement: true }, // local, oauth2, etc protocol: { diff --git a/api/models/User.js b/api/models/User.js index 08bd61e..480dfe2 100644 --- a/api/models/User.js +++ b/api/models/User.js @@ -14,8 +14,7 @@ module.exports = { id: { type: 'number', unique: true, - autoIncrement: true, - columnName: '_id' + autoIncrement: true }, email: { type: 'string',