Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

membership.js 315B

1234567891011
  1. const Schwifty = require('@hapipal/schwifty');
  2. const Joi = require('joi');
  3. module.exports = class Membership extends Schwifty.Model {
  4. static get tableName() { return 'memberships' }
  5. static get joiSchema() {
  6. return Joi.object({
  7. membership_id: Joi.number().required(),
  8. })
  9. }
  10. }