text: var keystone = require('keystone');
  
  /**
   * PostCategory Model
   * ==================
   */
  
  var PostCategory = new keystone.List('PostCategory', {
  	autokey: { from: 'name', path: 'key', unique: true },
  });
  
  PostCategory.add({
  	name: { type: String, required: true },
  });
  
  PostCategory.relationship({ ref: 'Post', path: 'categories', refPath: 'categories' });
  
  PostCategory.register();
  