mirror of
https://github.com/plankanban/planka.git
synced 2025-12-23 09:15:09 +03:00
15 lines
293 B
JavaScript
15 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,
|
|
});
|
|
};
|