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

13 lines
307 B
JavaScript
Raw Normal View History

const bcrypt = require('bcrypt');
2019-08-31 04:07:25 +05:00
exports.seed = (knex) =>
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',
2020-04-03 00:35:25 +05:00
username: 'demo',
subscribeToOwnCards: false,
createdAt: new Date().toISOString(),
2019-08-31 04:07:25 +05:00
});