<commit_before>const db = require('APP/db')

const seedUsers = () => db.Promise.map([
  {name: 'so many', email: '<EMAIL>', password: '<PASSWORD>'},
  {name: '<NAME>', email: '<EMAIL>', password: '<PASSWORD>'},
], user => db.model('users').create(user))

const seedTrips = () => db.Promise.map(
[
  {
    name: "My trip to the EU",
    start_date: "2016-03-16 12:08:36.165-04",
    end_date: "2017-03-16 12:08:36.165-04",
    discription: "This was just my quick trip to the EU. It was soooooo much FUNNN!!!",
    style: {
      "color": "Purple", "background": "Black"
    }
  }, {
    name: "Roadtrip to CA!",
    start_date: "2017-03-04 12:08:36.165-04",
    end_date: "2017-03-16 12:08:36.165-04",
    discription: "I went on a trip to CA!",
    style: {
      "color": "red", "background": "paper"
    }
  }],
trip => db.model('trips').create(trip))

const seedPages = () => db.Promise.map(
[
  {display_info: {
      "photos": [{
        "x": "100","y": "100", "size": "90", "ref": "URLLINKHERE"
      }, {
        "x": "200","y": "200", "size": "50", "ref": "URLLINKHERE"}
      ]}, trip_id: "1"},
  {display_info:{
    "h1": [{
        "x": "300p","y": "300", "size": "small", "text": "First day on the road"
      }, {
        "x": "50","y": "700", "size": "large", "text": "We had a great time"
    }]
  }, trip_id: "2"}],
page => db.model('pages').create(page))

db.didSync
  .then(() => db.sync({force: true}))
  .then(() => seedUsers())
  .then(([user1, user2]) =>
    seedTrips()<commit_msg>fixed some seed data<commit_after>const db = require('APP/db')

const seedUsers = () => db.Promise.map([
  {name: 'so many', email: '<EMAIL>', password: '<PASSWORD>'},
  {name: '<NAME>', email: '<EMAIL>', password: '<PASSWORD>'},
], user => db.model('users').create(user))

const seedTrips = () => db.Promise.map(
[
  {
    name: "My trip to the EU",
    start_date: "2016-03-16 12:08:36.165-04",
    end_date: "2017-03-16 12:08:36.165-04",
    discription: "This was just my quick trip to the EU. It was soooooo much FUNNN!!!",
    style: {
      "color": "Purple", "background": "Black"
    }
  }, {
    name: "Roadtrip to CA!",
    start_date: "2017-03-04 12:08:36.165-04",
    end_date: "2017-03-16 12:08:36.165-04",
    discription: "I went on a trip to CA!",
    style: {
      "color": "red", "background": "paper"
    }
  }],
trip => db.model('trips').create(trip))

const seedPages = () => db.Promise.map(
[
  {display_info: {
      "photo": [{
        "x": "100","y": "100", "ref": "http://placekitten.com/200/300"
      }, {
        "x": "200", "y": "200", "ref": "http://placekitten.com/200/300"}
      ]}, trip_id: "1"},
  {display_info:{
    "textBox": [{
        "x": "300", "y": "300", "size": "large", "text": "First day on the road"
      }, {
        "x": "50", "y": "700", "size": "large", "text": "We had a great time"
    }]
  }, trip_id: "2"}],
page => db.model('pages').create(page))

db.didSync
  .then(() => db.sync({force: true}))
  .then(() => seedUsers())
  .then(([user1, user2]) =>
    seedTrips()
{'fraction_non_alphanumeric': 0.24596109462578306, 'fraction_numerical': 0.07352456313880647, 'mean_word_length': 3.0944669365721995, 'pattern_counts': {'":': 42, '<': 13, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4753253', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1173, 'n_words': 279}