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.

123456789101112
  1. const Schwifty = require('@hapipal/schwifty')
  2. const questionSchema = require('../schemas/questions')
  3. module.exports = class Question extends Schwifty.Model {
  4. static get tableName() {
  5. return 'questions'
  6. }
  7. static get joiSchema() {
  8. return questionSchema.single
  9. }
  10. }