# Source: lib/schemas/config.mongoose.js

    'use strict';
    const mongoose = require('mongoose');
    const Schema = mongoose.Schema;
    const ObjectId = Schema.ObjectId;
    const configSchema = new Schema({
      id: ObjectId,
      filepath: String,
      environment: String,
      container: {
        type: String,
        default: 'periodicjs.container.default',
      },
      config: Schema.Types.Mixed,
      createdat: {
        type: Date,
        'default': Date.now,
        // index: true,
      },
      updatedat: {
        type: Date,
        'default': Date.now
      },
    });
    /**
     * name_of_file: string (e.g. 'content/config/extensions.json','content/config/environment/development.json','content/config/extensions/peridicjs.ext.dbseed.json')
    application_environment: string
    settings: schema_type_mixed
     */

    module.exports = configSchema;