Bugfix for fees / Oauth 2 implementation
This commit is contained in:
12
models/accessToken.js
Normal file
12
models/accessToken.js
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user