old_contents: import datetime
  
  from mongoengine import Document, EmbeddedDocument, StringField, ListField
  from mongoengine import EmbeddedDocumentField
  from django.conf import settings
  
  from crits.core.crits_mongoengine import CritsBaseAttributes, CritsSourceDocument
  from crits.core.crits_mongoengine import CritsSchemaDocument, CritsDocument
  from crits.core.fields import CritsDateTimeField
  from crits.core.user_tools import user_sources
  
  class Exploit(CritsBaseAttributes, CritsSourceDocument, Document):
      """
      Exploit class.
      """
  
      meta = {
          "collection": settings.COL_EXPLOIT,
          "crits_type": 'Exploit',
          "latest_schema_version": 1,
          "schema_doc": {
          },
          "jtable_opts": {
              'details_url': 'crits.exploits.views.exploit_detail',
              'details_url_key': 'id',
              'default_sort': "modified DESC",
              'searchurl': 'crits.exploits.views.exploits_listing',
              'fields': ["name", "cve", "description", "modified", "source",
                         "campaign", "status", "id"],
              'jtopts_fields': ["details", "name", "description", "modified",
                                "source", "campaign", "status", "favorite", "id"],
              'hidden_fields': [],
              'linked_fields': ["source", "campaign"],
              'details_link': 'details',
              'no_sort': ['details'],
          }
      }
  
      name = StringField(required=True)
      cve = StringField()
  
      def migrate(self):
          pass
  
new_contents: import datetime
  
  from mongoengine import Document, EmbeddedDocument, StringField, ListField
  from mongoengine import EmbeddedDocumentField
  from django.conf import settings
  
  from crits.core.crits_mongoengine import CritsBaseAttributes, CritsSourceDocument
  from crits.core.crits_mongoengine import CritsSchemaDocument, CritsDocument
  from crits.core.fields import CritsDateTimeField
  from crits.core.user_tools import user_sources
  
  class Exploit(CritsBaseAttributes, CritsSourceDocument, Document):
      """
      Exploit class.
      """
  
      meta = {
          "collection": settings.COL_EXPLOIT,
          "crits_type": 'Exploit',
          "latest_schema_version": 1,
          "schema_doc": {
          },
          "jtable_opts": {
              'details_url': 'crits.exploits.views.exploit_detail',
              'details_url_key': 'id',
              'default_sort': "modified DESC",
              'searchurl': 'crits.exploits.views.exploits_listing',
              'fields': ["name", "cve", "description", "modified", "source",
                         "campaign", "status", "id"],
              'jtopts_fields': ["details", "name", "cve", "description",
                                "modified", "source", "campaign", "status",
                                "favorite", "id"],
              'hidden_fields': [],
              'linked_fields': ["source", "campaign"],
              'details_link': 'details',
              'no_sort': ['details'],
          }
      }
  
      name = StringField(required=True)
      cve = StringField()
  
      def migrate(self):
          pass
  
subject: Add CVE column to exploit jtable.