change id column name

pull/19/head
unknown 2018-11-07 14:38:28 -05:00
parent 0c96371780
commit e548021672
3 changed files with 3 additions and 6 deletions

View File

@ -15,8 +15,7 @@ module.exports = {
id: { id: {
type: 'number', type: 'number',
unique: true, unique: true,
autoIncrement: true, autoIncrement: true
columnName: '_id'
}, },
title: {type: 'string', required: true}, title: {type: 'string', required: true},
author: {type: 'string'}, author: {type: 'string'},

View File

@ -28,8 +28,7 @@ module.exports = {
id: { id: {
type: 'number', type: 'number',
unique: true, unique: true,
autoIncrement: true, autoIncrement: true
columnName: '_id'
}, },
// local, oauth2, etc // local, oauth2, etc
protocol: { protocol: {

View File

@ -14,8 +14,7 @@ module.exports = {
id: { id: {
type: 'number', type: 'number',
unique: true, unique: true,
autoIncrement: true, autoIncrement: true
columnName: '_id'
}, },
email: { email: {
type: 'string', type: 'string',