Bugfix for fees / Oauth 2 implementation

This commit is contained in:
Senad Uka
2019-08-31 06:11:15 +02:00
parent cbf502bc14
commit b3e2de9f57
15 changed files with 245 additions and 23 deletions

12
models/accessToken.js Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
module.exports = (sequelize, DataTypes) => {
const processing = sequelize.define('accessToken', {
token: DataTypes.TEXT,
validUntil: DataTypes.DATE,
}, {});
processing.associate = function(models) {
// associations can be defined here
};
return processing;
};