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

14 lines
293 B
JavaScript

import bcrypt from 'bcrypt';
exports.seed = 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,
});
};