text: // Initializes the `codes` service on path `/codes`
  const createService = require('feathers-sequelize');
  const createModel = require('../../models/codes.model');
  const hooks = require('./codes.hooks');
  
  module.exports = function (app) {
      const Model = createModel(app);
      const paginate = app.get('paginate');
  
      const options = {
          Model,
          paginate
      };
  
      // Initialize our service with any options it requires
      app.use('/codes', createService(options));
  
      // Get our initialized service so that we can register hooks
      const service = app.service('codes');
  
      service.hooks(hooks);
  };
  