1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00
planka/server/db/seeds/default.js

15 lines
306 B
JavaScript
Raw Normal View History

const bcrypt = require('bcrypt');
2019-08-31 04:07:25 +05:00
exports.seed = knex => {
2019-08-31 04:07:25 +05:00
const date = new Date().toUTCString();
return knex('user_account').insert({
2019-08-31 04:07:25 +05:00
email: 'demo@demo.demo',
password: bcrypt.hashSync('demo', 10),
isAdmin: true,
2019-08-31 04:07:25 +05:00
name: 'Demo Demo',
createdAt: date,
updatedAt: date,
2019-08-31 04:07:25 +05:00
});
};