/* global require, module, process, console, __dirname */
/* jshint -W097 */
var
  mongoose = require('mongoose'),
  Schema   = mongoose.Schema;

var MediaSchema = new Schema({
  name:        String,
  description: String,
  url:         String,
  active:      Boolean
});

module.exports = mongoose.model('Media', MediaSchema);

/* global require, module, process, console, __dirname */
/* jshint -W097 */
'use strict';

var
  mongoose = require('mongoose'),
  Schema   = mongoose.Schema;

var MediaSchema = new Schema({
  name:        String,
  description: String,
  url:         String,
  active:      Boolean
});

module.exports = mongoose.model('Media', MediaSchema);

Add missing 'use strict' declaration
style: Add missing 'use strict' declaration
