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: {
type: 'number',
unique: true,
autoIncrement: true,
columnName: '_id'
autoIncrement: true
},
title: {type: 'string', required: true},
author: {type: 'string'},

View File

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

View File

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