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

16 lines
362 B
JavaScript

const bcrypt = require('bcrypt');
exports.seed = (knex) => {
const date = new Date().toUTCString();
return knex('user_account').insert({
email: 'demo@demo.demo',
password: bcrypt.hashSync('demo', 10),
isAdmin: true,
name: 'Demo Demo',
username: 'demo',
subscribeToOwnCards: false,
createdAt: date,
updatedAt: date,
});
};