{"size": 230, "ext": "js", "max_stars_repo_path": "server/src/schema/PostSchema.js", "max_stars_repo_name": "omsrivastava/mevn-blog", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/src/schema/PostSchema.js", "max_issues_repo_name": "omsrivastava/mevn-blog", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/src/schema/PostSchema.js", "max_forks_repo_name": "omsrivastava/mevn-blog", "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": 20.9090909091, "max_line_length": 42, "alphanum_fraction": 0.6782608696}
import mongoose from 'mongoose'

const PostSchema = new mongoose.Schema({
    author: { type: String, default: '' },
    title: String,
    content: String,
    created_at: Date,
    updated_at: Date,
})

export default PostSchema