const fixtureFactory = require('fixture-factory');

// 'foobar'
const dummyPassword = '$2a$10$jqtfUwulMw6xqGUA.IsjkuAooNkAjPT3FJ9rRiUoSTsUpNTD8McxC';

fixtureFactory.register('user', {
  email: 'internet.email',
  password: dummyPassword,
});

exports.seed = knex => (
  knex
    .batchInsert('users', fixtureFactory.generate('user', 10))
);

@@ -236,49 +236,307 @@
 rd,%0A
-%7D);%0A%0Aexports.seed = knex =%3E (%0A  knex%0A    
+  description: 'lorem.sentences',%0A  scope: 'user',%0A%7D);%0A%0A// Generate one test admin user%0Aconst testUser = Object.assign(%7B%7D, fixtureFactory.generateOne('user'), %7B%0A  email: 'foo@bar.com',%0A  scope: 'admin',%0A%7D);%0A%0Aexports.seed = knex =%3E (%0A  knex('users')%0A    .insert(testUser)%0A    .then(() =%3E (%0A      knex
 .bat
@@ -590,11 +590,18 @@
 ', 10))%0A
+    ))%0A
 );%0A

Fix production seed script