service -> serviceId

This commit is contained in:
Tom Moor
2018-06-01 15:13:05 -04:00
parent b7b5bac5c3
commit 2337b9df7f
12 changed files with 23 additions and 14 deletions

View File

@ -7,7 +7,7 @@ const Authentication = sequelize.define('authentication', {
defaultValue: DataTypes.UUIDV4,
primaryKey: true,
},
serviceId: DataTypes.STRING,
service: DataTypes.STRING,
scopes: DataTypes.ARRAY(DataTypes.STRING),
token: encryptedFields.vault('token'),
});