
exports.seed = function(knex, Promise) {
  // Deletes ALL existing entries
  return knex('users').del()
    .then(function () {
      // Inserts seed entries
      return knex('users').insert([
        {id: 1, name: 'smanongga', email: 'smanongga@example.org'}
      ]);
    });
};


exports.seed = function (knex, Promise) {
  // Deletes ALL existing entries
  return knex('users').del()
    .then(function () {
      // Inserts seed entries
      return knex('users').insert([
        {id: 1, profile_id: 1, name: 'smanongga', email: 'smanongga@example.org'}
      ])
    })
}

Edit knex user seed and content structure
Edit knex user seed and content structure
