{"size": 304, "ext": "js", "max_stars_repo_path": "server/src/common/model/schema/logs.js", "max_stars_repo_name": "mission-apprentissage/matcha-templated", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/src/common/model/schema/logs.js", "max_issues_repo_name": "mission-apprentissage/matcha-templated", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/src/common/model/schema/logs.js", "max_forks_repo_name": "mission-apprentissage/matcha-templated", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 13.8181818182, "max_line_length": 39, "alphanum_fraction": 0.5230263158}
const { Schema } = require("mongoose");

module.exports = new Schema({
  msg: {
    type: String,
    required: true,
  },
  level: {
    type: Number,
    required: true,
  },
  name: {
    type: String,
    required: true,
  },
  time: {
    type: Date,
    required: true,
    expires: "7d",
  },
});
