{"size": 513, "ext": "js", "max_stars_repo_path": "seeds/postData.js", "max_stars_repo_name": "empipio/Tech-Blog", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "seeds/postData.js", "max_issues_repo_name": "empipio/Tech-Blog", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "seeds/postData.js", "max_forks_repo_name": "empipio/Tech-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": 19.7307692308, "max_line_length": 58, "alphanum_fraction": 0.6179337232}
const { Post } = require("../models");

const postData = [
  {
    blogTitle: "What is handlebars?",
    blogText: "dunno but I can ride my bike without them",
    userId: 1,
  },

  {
    blogTitle: "I met a really interesting spider today",
    blogText: "he was a web developer",
    userId: 2,
  },

  {
    blogTitle: "Why did the programmer quit his job?",
    blogText: "Because he didn't get arrays",
    userId: 3,
  },
];

const seedPosts = () => Post.bulkCreate(postData);

module.exports = seedPosts;
