async function main() {
  await createSchema();

  ///////////////////////////////////////////////////////////////
  // Your reproduction
  ///////////////////////////////////////////////////////////////

  await Person.query().insertGraph({
    firstName: 'Jennifer',
    lastName: 'Lawrence',

    pets: [
      {
        name: 'Doggo',
        species: 'dog'
      }
    ]
  });

  const jennifer = await Person.query()
    .findOne({ firstName: 'Jennifer' })
    .withGraphFetched('pets');

  chai.expect(jennifer.pets[0].name).to.equal('Doggo');
}
This is a simple template for bug reproductions. It contains three models `Person`, `Animal` and `Movie`.
They create a simple IMDB-style database. Try to add minimal modifications to this file to reproduce
your bug.

install:
   npm install objection knex sqlite3 chai

run:
   node reproduction-template