You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

profile.js 316B

12345678910111213
  1. const Schwifty = require('@hapipal/schwifty')
  2. const Joi = require('joi')
  3. module.exports = class Profile extends Schwifty.Model {
  4. static get tableName() {
  5. return 'profiles'
  6. }
  7. static get joiSchema() {
  8. return Joi.object({
  9. profile_id: Joi.number().required(),
  10. })
  11. }
  12. }