mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
14 lines
304 B
JavaScript
14 lines
304 B
JavaScript
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
|
|
});
|
|
};
|