{"size": 467, "ext": "js", "max_stars_repo_path": "projects/49view.com-graphql-api/models/thumbnail_maker.js", "max_stars_repo_name": "49View/f9.com", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "projects/49view.com-graphql-api/models/thumbnail_maker.js", "max_issues_repo_name": "49View/f9.com", "max_issues_repo_issues_event_min_datetime": "2020-04-29T15:59:34.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-13T10:01:11.000Z", "max_forks_repo_path": "projects/49view.com-graphql-api/models/thumbnail_maker.js", "max_forks_repo_name": "49View/f9.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 38.9166666667, "max_line_length": 91, "alphanum_fraction": 0.704496788}
const mongoose = global.db;

export const thumbnailMakerModel = mongoose.model("thumbnail_makers", new mongoose.Schema({
  filename: {type: String},
  group: {type: String},
  project: {type: String},
  username: {type: String},
  entityId: {type: mongoose.Schema.Types.ObjectId, ref: "entities", index: true},
  userId: {type: mongoose.Schema.Types.ObjectId, ref: "users", index: true, unique: false},
  thumb: {type: String}
}, {timestamps: true, strict: false}));
