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

Rename user table, remove ES6 import. Closes #6, closes #7

This commit is contained in:
Maksim Eltyshev 2020-02-25 01:31:52 +05:00
parent 45bde7e7c0
commit c7aad28cdc
4 changed files with 7 additions and 6 deletions

View file

@ -1,9 +1,9 @@
import bcrypt from 'bcrypt';
const bcrypt = require('bcrypt');
exports.seed = knex => {
const date = new Date().toUTCString();
return knex('user').insert({
return knex('user_account').insert({
email: 'demo@demo.demo',
password: bcrypt.hashSync('demo', 10),
isAdmin: true,