{"size": 254, "ext": "js", "max_stars_repo_path": "database/Photo.js", "max_stars_repo_name": "housemania/description", "max_stars_repo_stars_event_min_datetime": "2020-07-27T22:16:51.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-27T22:16:51.000Z", "max_issues_repo_path": "database/Photo.js", "max_issues_repo_name": "housemania/description", "max_issues_repo_issues_event_min_datetime": "2019-08-23T15:17:02.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-10T09:39:58.000Z", "max_forks_repo_path": "database/Photo.js", "max_forks_repo_name": "housemania/description", "max_forks_repo_forks_event_min_datetime": "2019-12-19T01:38:00.000Z", "max_forks_repo_forks_event_max_datetime": "2019-12-19T01:38:00.000Z"}
{"max_stars_count": 1, "max_issues_count": 9, "max_forks_count": 1, "avg_line_length": 21.1666666667, "max_line_length": 54, "alphanum_fraction": 0.7086614173}
const mongoose = require('mongoose');
const mongo = require('./mongo.js');

const PhotoSchema = new mongoose.Schema({
  photo_id: Number,
  house_id: Number,
  file_path: String,
  desc: String
});

module.exports = mongoose.model('Photo', PhotoSchema);
