You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const bcrypt = require('bcrypt');
|
|
|
|
exports.seed = function(knex) {
|
|
const date = new Date().toUTCString();
|
|
|
|
return knex('user').insert({
|
|
email: 'demo@demo.demo',
|
|
password: bcrypt.hashSync('demo', 10),
|
|
isAdmin: true,
|
|
name: 'Demo Demo',
|
|
createdAt: date,
|
|
updatedAt: date
|
|
});
|
|
};
|