| 123456789101112131415 |
- const Schwifty = require('@hapipal/schwifty')
- const Joi = require('joi')
-
- module.exports = class Auth extends Schwifty.Model {
- static get tableName() {
- return 'authentication'
- }
- static get joiSchema() {
- return Joi.object({
- user_email: Joi.string().required(),
- created_at: Joi.date().required(),
- token: Joi.binary().required()
- })
- }
- }
|