message: Fix unit model
diff: import * as mongoose from 'mongoose';
  import {IUnit} from '../../../../shared/models/units/IUnit';
  import {NativeError} from 'mongoose';
  -import {BadRequestError} from 'routing-controllers';
  interface IUnitModel extends IUnit, mongoose.Document {
  }
  @@ -11,7 +10,11 @@ const unitSchema = new mongoose.Schema({
  type: mongoose.Schema.Types.ObjectId,
  ref: 'Course'
  },
  - title: {
  + name: {
  + type: String,
  + require: true
  + },
  + description: {
  type: String
  },
  progressable: {
  @@ -19,12 +22,6 @@ const unitSchema = new mongoose.Schema({
  },
  weight: {
  type: Number
  - },
  - name: {
  - type: String
  - },
  - description: {
  - type: String
  }
  },
  {
  